Feature request: suppress repeat LPR reads of stationary (parked) vehicles
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?
Summary
When a camera overlooks a driveway with parked cars, every event on that camera re-reads the parked cars' plates and uploads them to Protect, even when those vehicles haven't moved and aren't the subject of the event. A car passing on the street, or a person walking up the drive, produces fresh "detections" of my own parked cars. The Licence Plates view in Protect fills with repeats of the same one or two plates.
Setup
- Keystone v0.1.9,
keystone-aio:0.1.9-intelon Unraid (OpenVINO, Intel Iris Xe) - Protect 7.4.114 on a UDM Pro
- AI Key path only (AI Port disabled)
- Cameras: G4 Pro overlooking the driveway and street, Doorbell Lite facing the driveway
- Legacy Camera Enhancement enabled with "All Motion" on the driveway camera
lpr.enabled: true,lpr.native_protect: true, both household plates mapped undervehicles:
What happens
- Two cars are parked on the driveway, both in view.
- An unrelated car drives past on the street, creating a motion event.
- Keystone scans the event frames, finds the two parked plates, and uploads both to Protect.
- Protect records a new plate detection for each parked car.
This repeats for every motion event. In my case that was 35+ entries for the same two plates in a morning, e.g.:
LPR event=... cam=... plates=['AB12CDE:1.00', 'FG34HIJ:1.00'] (3 frames, 432ms)
Captioned event=...: 'A light-coloured car passes along the street...'
The caption correctly describes a passing car, but the plates attached to the event are the two stationary ones.
What would you like Keystone to do?
What I'd like
An option to avoid re-reporting a plate that hasn't moved. Any of these would solve it:
- Stationary suppression: skip uploading a plate whose bounding box is in (roughly) the same position across the event's frames, and/or the same position as its last sighting on that camera.
- Per-plate cooldown: e.g.
lpr.repeat_cooldown_seconds, so the same plate on the same camera isn't uploaded again within N minutes unless its position has changed. - Report-on-change for known vehicles: for plates listed under
vehicles:, only upload when the vehicle arrives, leaves or moves. - An ignore zone per camera, as a fallback, where plate reads are still used for captions/identities but not uploaded to Protect.
Ideally the plate would still be available to the captioner, so a caption can say "Alice's sedan pulls out of the driveway" when it does move.
Workarounds or alternatives you've tried
Workarounds tried
- Turning off "All Motion" in Legacy Camera Enhancement stops the repeats, but Protect then reports
lpr: falseinprotectAiSettingsand discards all plate uploads, so this disables LPR entirely. - Shrinking the camera's motion zone to exclude the street reduces it, but any motion on the driveway itself (a person walking past the cars) still triggers a re-read.
lpr.native_protect: falsestops every plate reaching Protect, not just the repeats.- A privacy mask over the parked cars would work but blacks out that part of the recording.
Your setup
7.4.114
Would you like to work on this?
None
- 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
-
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
-
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