I do have zones setup.
zones:
back2_zone1:
coordinates:
0,1,0,0.465,0.048,0.683,0.151,0.681,0.164,0.593,0.281,0.585,0.267,0.208,0.671,0.192,1,0.567,1,1,0.893,1,0.909,0.842,0.847,0.664,0.717,0.547,0.593,0.614,0.544,0.768,0.573,0.922,0.612,1
loitering_time: 0
objects: person
inertia: 3
back2_zone2:
coordinates:
0.094,0.084,0.242,0.049,0.37,0.036,0.458,0.041,0.586,0.188,0.217,0.203,0.244,0.13,0.068,0.182
loitering_time: 0
objects:
- cat
- dog
- bird
inertia: 3
motion:
mask:
- 0,0,0.107,0,0.057,0.196,0.226,0.146,0.2,0.221,0.262,0.212,0.273,0.569,0.158,0.575,0.144,0.67,0.053,0.673,0,0.429
- 0.598,0.626,0.72,0.562,0.842,0.681,0.899,0.848,0.881,1,0.627,1,0.581,0.919,0.552,0.77
- 1,0,1,0.55,0.672,0.178,0.597,0.186,0.434,0
review:
alerts:
required_zones:
- back2_zone1
- back2_zone2
detections:
required_zones:
- back2_zone1
- back2_zone2
But some where I read that I should add “labels:” under zone detections. So I did that under review: > detections:, as follow:
motion:
mask:
- 0,0,0.107,0,0.057,0.196,0.226,0.146,0.2,0.221,0.262,0.212,0.273,0.569,0.158,0.575,0.144,0.67,0.053,0.673,0,0.429
- 0.598,0.626,0.72,0.562,0.842,0.681,0.899,0.848,0.881,1,0.627,1,0.581,0.919,0.552,0.77
- 1,0,1,0.55,0.672,0.178,0.597,0.186,0.434,0
review:
alerts:
required_zones:
- back2_zone1
- back2_zone2
detections:
required_zones:
- back2_zone1
- back2_zone2
labels:
- cat
- dog
- bird
I haven’t seen the results yet.