Please help with getting zones working correctly #234
Replies: 4 comments 5 replies
-
I have a very similar issue. Thought it was just me so I've not complained anymore. In the other areas, I've tried a mask - didn't work. Tried creating a zone |
Beta Was this translation helpful? Give feedback.
-
What if you add object_detection:
labels: [] The thing is, the camera inherits the values from the global object detection, which defaults to tracking persons. |
Beta Was this translation helpful? Give feedback.
-
Okay, the above changes didn't work, re-read docs carefully, specifically the config fragment for zones and reworked the whole config.yaml, removing per camera object_detection: and and adding a "full frame" zone to the first camera that wasn't using zones leaving me with to the following which seems to be working as expected... Complete config.yaml for those that may be interested:
Notice, no object_detection: clause under each camera, the addition of a zone to the one (FrontDoor) camera so they all use zones now and these keys under labels: per camera, I think I misunderstood how the global object detection inherits its per camera overrides from the labels: under zones and I was trying to use object_detection: per camera which wasn't working as expected, also having one camera without a zone caused errors in the logs, also needed a place to insert the keys below, and failure to start, hence adding zones to all cameras:
Many thank! |
Beta Was this translation helpful? Give feedback.
-
I will start working on the object masks (#197) soon which should simplify this use case |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have five cameras with object detection zones setup on four of them, problem is I still seem to get recording triggers with a "person" outside the zones. I can see the zones are aligned correctly in the MJPEG static streams and they even turn green when a person enters them, yet I'm still getting triggers outside the zones, a person inside the house behind a window for instance. I suspect I'm missing something in the config.yaml and there's still some global object detection going on.
Otherwise object detection is working amazingly well, absolutely no false positives, Darknet - YoloV4.
my config.yaml file, no errors in the logs...
config_yaml.txt
In this screengrab from one of the MJPEG static streams you can see one zone but I still get a recording trigger when someone stands at the window...

What am I missing?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions