[Config Support]: Event out of zone
See original GitHub issueDescribe the problem you are having
Yesterday I had an event that was labelled as in a zone incorrectly, the object was nowhere near:
This is the event in the GUI:
And this is the snapshot of the person object superimposed on the zones layout:
The person walked from an area out of the zone across the zone front_road_os_path. Nowhere near front_drive zone. How has Frigate got the zone so wrong?
Version
0.11.1-2EADA21
Frigate config file
mqtt:
host: 192.168.xx.xx
database:
# The path to store the SQLite DB (default: shown below)
path: /db/frigate.db
detectors:
coral_pci:
type: edgetpu
device: pci
logger:
# Optional: default log level (default: shown below)
default: info
# Optional: module by module log level configuration
logs:
frigate.mqtt: debug
frigate.event: debug
objects:
track:
- person
- car
- cat
- dog
filters:
person:
threshold: 0.7
record:
enabled: True
retain:
days: 0
events:
retain:
default: 20
mode: all
pre_capture: 10
post_capture: 10
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
retain:
default: 20
cameras:
###############################################################front########################################################################
front:
ffmpeg:
inputs:
- path: rtmp://192.168.xx.xx/bcs/channel0_main.bcs?channel=0&stream=0&user=xx&password=xx
roles:
- detect
- record
- rtmp
input_args:
- -avoid_negative_ts
- make_zero
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
detect:
max_disappeared: 100
width: 2048
height: 1536
fps: 7
mqtt:
required_zones:
- front_drive
- front_path
motion:
mask:
- 0,80,780,79,795,0,0,0
- 577,732,168,1428,0,1380,0,1042,284,618,417,415,616,413,643,681
- 1272,612,1363,826,1575,782,1509,595,1552,475,1330,457
- 1255,689,1251,1403,423,1369,664,649
objects:
filters:
car:
mask:
- 22,0,2048,0,2048,508,1322,436,589,432,0,484,0,0
- 670,573,195,1536,0,1536,0,554
- 1629,1536,2048,1536,2048,627,1220,564
dog:
max_area: 10000
person:
min_area: 5000
mask:
- 2048,0,2048,384,1220,261,631,268,0,336,0,0
- 1206,689,1241,1253,539,1220,668,676
- 1272,612,1363,826,1575,782,1509,595,1552,475,1330,457
- 1432,1000,1228,1000,1249,1141,1471,1133
zones:
front_drive:
coordinates: 98,1392,859,1515,1668,1490,1309,720,531,710,357,950
filters:
person:
min_area: 80000
dog:
min_area: 5000
front_path:
coordinates: 1722,1536,2048,1536,2048,1177,1728,722,1365,724
filters:
person:
min_area: 80000
dog:
min_area: 5000
front_nd:
coordinates: 2048,984,2048,735,1847,741
front_nd_5:
coordinates: 328,716,0,716,0,1098
front_road_ns_path:
coordinates: 961,687,2048,681,2048,602,990,546,311,558,0,583,0,658
front_road:
coordinates: 2048,595,2048,421,1529,351,772,322,440,347,0,380,0,569,718,550,1639,567
front_road_os_path:
coordinates: 425,270,0,309,0,380,641,317,1260,322,2048,419,2048,376,1648,293,942,247
record:
events:
required_zones:
- front_drive
- front_path
- front_nd
- front_nd_5
- front_road_ns_path
- front_road
- front_road_os_path
snapshots:
required_zones:
- front_drive
- front_path
- front_nd
- front_nd_5
- front_road_ns_path
- front_road
- front_road_os_path
Relevant log output
[2022-10-14 10:06:21] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:06:25] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:06:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front/car.
[2022-10-14 10:06:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:06:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road/car.
[2022-10-14 10:06:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road/all.
[2022-10-14 10:06:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:07:01] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:07:02] frigate.mqtt DEBUG : Received mqtt message on frigate/back_garden/motion.
[2022-10-14 10:07:08] frigate.mqtt DEBUG : Received mqtt message on frigate/front/motion.
[2022-10-14 10:07:17] frigate.mqtt DEBUG : Received mqtt message on frigate/stats.
[2022-10-14 10:07:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:07:35] frigate.mqtt DEBUG : Received mqtt message on frigate/back_garden/motion.
[2022-10-14 10:07:58] frigate.mqtt DEBUG : Received mqtt message on frigate/back_patio/motion.
[2022-10-14 10:08:01] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:08:02] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:08:17] frigate.mqtt DEBUG : Received mqtt message on frigate/stats.
[2022-10-14 10:08:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:08:32] frigate.mqtt DEBUG : Received mqtt message on frigate/back_patio/motion.
[2022-10-14 10:09:02] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:09:05] frigate.mqtt DEBUG : Received mqtt message on frigate/back_garden/motion.
[2022-10-14 10:09:10] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:09:12] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:09:17] frigate.mqtt DEBUG : Received mqtt message on frigate/stats.
[2022-10-14 10:09:28] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:09:35] frigate.mqtt DEBUG : Received mqtt message on frigate/back_garden/motion.
[2022-10-14 10:09:43] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:09:43] frigate.mqtt DEBUG : Received mqtt message on frigate/front/motion.
[2022-10-14 10:09:43] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:09:45] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:09:45] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/cat.
[2022-10-14 10:09:45] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/all.
[2022-10-14 10:09:46] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:09:46] frigate.mqtt DEBUG : Received mqtt message on frigate/front_path/cat.
[2022-10-14 10:09:46] frigate.mqtt DEBUG : Received mqtt message on frigate/front_path/all.
[2022-10-14 10:09:53] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:09:55] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:10:15] frigate.mqtt DEBUG : Received mqtt message on frigate/front/motion.
[2022-10-14 10:10:17] frigate.mqtt DEBUG : Received mqtt message on frigate/stats.
[2022-10-14 10:10:28] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:10:39] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:10:48] frigate.mqtt DEBUG : Received mqtt message on frigate/back_patio/motion.
[2022-10-14 10:10:55] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:07] frigate.mqtt DEBUG : Received mqtt message on frigate/back_garden/motion.
[2022-10-14 10:11:17] frigate.mqtt DEBUG : Received mqtt message on frigate/stats.
[2022-10-14 10:11:22] frigate.mqtt DEBUG : Received mqtt message on frigate/front/motion.
[2022-10-14 10:11:23] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:23] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:23] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:23] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:23] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:25] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/person.
[2022-10-14 10:11:26] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/all.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/car.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/all.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/car.
[2022-10-14 10:11:27] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/all.
[2022-10-14 10:11:28] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:29] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:29] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/person.
[2022-10-14 10:11:29] frigate.mqtt DEBUG : Received mqtt message on frigate/front_drive/all.
[2022-10-14 10:11:29] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:29] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:32] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:32] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:33] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person/snapshot.
[2022-10-14 10:11:33] frigate.mqtt DEBUG : MQTT payload for frigate/front/person/snapshot wasn't text. Skipping...
[2022-10-14 10:11:34] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:35] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:35] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:35] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:35] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:35] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:37] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:38] frigate.mqtt DEBUG : Received mqtt message on frigate/front_door/motion.
[2022-10-14 10:11:39] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:40] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:40] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:40] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:40] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:40] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
[2022-10-14 10:11:41] frigate.mqtt DEBUG : Received mqtt message on frigate/back_patio/motion.
[2022-10-14 10:11:41] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/events.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/front/all.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/front/person/snapshot.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : MQTT payload for frigate/front/person/snapshot wasn't text. Skipping...
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/person.
[2022-10-14 10:11:44] frigate.mqtt DEBUG : Received mqtt message on frigate/front_road_os_path/all.
Frigate stats
front 7 7 0 0 217 236
front door 5 5 0 0 219 239
back garden 5.1 5.1 0 0 221 241
back patio 7 7 0 0 235 243
Operating system
Debian
Install method
Docker Compose
Coral version
PCIe
Any other information that may be helpful
No response
Issue Analytics
- State:
- Created a year ago
- Comments:25 (1 by maintainers)
Top Results From Across the Web
Come someone help me with recording events in a zone ...
I cannot figure out why events aren't being recorded in my zones. The camera in the area has three zones. The first zone...
Read more >Automation for entering and leaving Zones - Configuration
I have setup a few zones, my work, home, my wife's work, ... zone: zone.centennial event: enter condition: [] action: - service: ...
Read more >Example Events for AWS Config Rules
AWS Config publishes an event when it detects a configuration change for a resource that is within a rule's scope. The following example...
Read more >Running event listeners outside of the NgZone - InDepth.Dev
NgZone notifies Angular when to perform the change detection process (e.g. a DOM event with bound listener is one of the triggerers).
Read more >Event Management configuration preferences
Turn off collection of port data for SNMP network devices · IP service and ... Configure the VMware Events service to auto-update the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been discussed previously in another issue and may be added in the future
It’s width in pixels divided by height in pixels. So if a bounding box is a square then it’s ratio is 1. If it is twice as tall as it is wide then the ratio is 0.5. If it’s twice as wide as it is tall then the ratio is 2.