Retry borderline AI Port face detections on the paired source frame
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
What problem would this solve?
AI Port searches for faces on the analysis JPEG even when it has a larger snapshot of the same frame. On one recorded pass, YuNet found a 32.94 px face at confidence 0.882 on the 1600 px input. On the paired 1920 px image it measured 40.16 px, clearing the configured 40 px minimum. Paired sampler outputs
Proposed change
Keep the ordinary scan. When a candidate has one clear person owner and passes confidence and pose but fails only size or sharpness, check whether its enclosing rectangle on the paired source has enough pixels. Retry at most one eligible head region per scheduled scan. Require the usual quality checks, overlap with the original candidate and the same owner.
Evidence
| Recorded passages | Verified linked faces, stock → retry | YuNet calls, stock → retry |
|---|---|---|
| 10, including the pass that prompted the rule | 1 → 2 | 107 → 108 |
| 24 separate passages from five cameras, rule frozen | 2 → 2 | 294 → 294 |
The added face agreed with an independent detector at IoU 0.873. All 13 person tracks and 12 person events in the first cohort were preserved. The second cohort had no eligible size/blur failure. Simply increasing the analysis width to 1920 gained one face and lost another on an eight-clip comparison.
On Open Images validation photo 90191d5d074c6692, the face measures 33.86 px at analysis width 854 (score 0.926). One head-region check on the original 1024 px JPEG yields 40.68 px (0.927) and a linked face. Open Images
Frigate also searches the tracked person's region on the current frame. Double Take limits repeated attempts. The source-pixel check comes from the Keystone replay. Frigate · Double Take
Tested with the Intel image at a5f27f1, YuNet/SFace and 2 fps. Draft #238 is running on our home installation while we evaluate this approach. Gallery matching and dedup thresholds are tracked in #193.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 114
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 147
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from seeARMS/keystone
-
needs-triage
Maintainers usually reply within 1 day
-
Maintainers usually reply within 1 day
-
accepted
seeARMS/keystone#246 · 1 comment ·
Maintainers usually reply within 1 day
-
Maintainers usually reply within 1 day
-
seeARMS/keystone#241 · 1 comment ·
Maintainers usually reply within 1 day
All issues in seeARMS/keystone
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day