(Note: This post was polished with the help of Claude, part of a longer troubleshooting/optimization project for my AgentDVR instance)
Version: 8.0.8.0, Linux (Ubuntu), SQLite fileDB.db3
Affects: WebUI Alerts list (bell icon): object filter chips and the free-text filter
Not affected: detection itself, AgentFile.Tags, per-grab ImageTag, and the icons shown on the recording in the files list
Summary
A recording that contains a person is only reachable through the Alerts list "Person" filter if person happens to be the first label in its Tags field. If any other label was detected first (car, truck, motorcycle, loiter) the clip is categorized as that instead.
Across my 9 AI-enabled cameras this hides 947 of 2,839 person-tagged recordings (33%).
Minimal example: same camera, 28 minutes apart
Two Gate (<--camera name) clips, both with ContainsAIAlert=1, both 20 s:
11_2026-10-14_22-42-36_645.mkv
Tags = "car,person,detected"
TagJSON = [{"t":"person","s":5},{"t":"alert","s":5},{"t":"detected","s":6}]
-> shown as Vehicle. NOT returned by the Person filter.
11_2026-10-14_23-10-55_845.mkv
Tags = "person,detected"
TagJSON = [{"t":"alert","s":5},{"t":"detected","s":8}]
-> shown as Person. Returned by the Person filter.
Note the inversion: the clip the filter misses is the one that has person in both Tags and TagJSON. The clip the filter finds has no person entry in TagJSON at all. So the lookup isn't reading TagJSON, and it isn't searching Tags either. It behaves as though the clip's category is derived from Tags.split(',')[0].
That also explains why the object chip and the free-text filter behave identically for me: if both resolve against the same single derived category, neither can ever reach the buried labels.
The underlying detection is correct. Per-grab rows for that same 22:42 event:
ImageTag: 2026-10-14_22-42-36_265.jpg ObjectID 11 Tags "car"
ImageTag: 2026-10-14_22-42-37_282.jpg ObjectID 11 Tags "person,car"
Gate scored person 83% on that second frame. The clip's stored alert thumbnail is the first detection frame (the parked van at car 65%), not the frame that carries the person, so even when you do find the clip, the preview argues against opening it.
Scale, and why I think it confirms the cause
The effect size tracks exactly what "first tag wins" predicts: cameras that only ever see people are barely touched, cameras that also see traffic lose up to half their person clips.
| Camera | Scene | person-tagged | person listed first | hidden |
|---|
| Hallway | indoor, people only | 169 | 164 | 3% |
| Courtyard | yard, people only | 194 | 189 | 3% |
| Roof | wide, mixed | 334 | 249 | 25% |
| Street | street | 1,089 | 687 | 37% |
| Doorbell | path + street | 250 | 144 | 42% |
| Gate | driveway + street | 730 | 423 | 42% |
| Garage | vehicles | 73 | 36 | 51% |
| All | | 2,839 | 1,892 | 33% |
Nine cameras, different resolutions, different confidence thresholds, same proportional behaviour. What varies is only how often a vehicle gets detected before the person does.
Labels that occupy first place when person is present but not first, all cameras:
car 478 truck 171 motorcycle 121 loiter 93 bicycle 27
vehicle 27 bus 10 boat 9 dog 3 cat 3 detected 3 ai down 2
loiter appearing there means loiter events are affected too, which is the one category where you'd least want a person clip to go missing.
Secondary observation: TagJSON is incomplete
In 921 of 2,839 person-tagged clips, Tags contains person but TagJSON has no person entry (the reverse never happens: TagJSON-only is 0 cases). So TagJSON is a lossy subset of Tags. It isn't the cause of the filter bug, but if TagJSON is meant to drive seek-to-detection in the player, those 921 clips can't offer a person seek point.
Expected behaviour
- The Person filter should return every recording whose
Tags contains person, regardless of position in the tags list. - A clip containing several object classes should be reachable under each or any of them, rather than being assigned one category from whichever fired first.
- Ideally the stored alert thumbnail would be the highest-confidence detection frame, or the one matching the active filter, instead of the first frame of the event.
What I ruled out locally
- Not a confidence threshold issue: the hidden clips contain detections at 72–86%.
- Not a zone mask: Gate's active zone covers the whole driveway centre.
- Not a tagging failure:
Tags and ImageTag are both correct. - Not the files list: the recording's own icons show both objects correctly.
The defect is confined to how the Alerts list derives a clip's object category.
Happy to supply more rows, the AlertDataBlob for either clip, or run a query against fileDB.db3 if that helps narrow it.
Thank you!