Hi there,
Seem to now have my system firing on all cylinders and reporting correctly
I have a feeling this may be possible with the changes you made to MQTT, but how do I track the number of objects detected. I was previously using Deepstack and the JSON parsed to MQTT would be:
{
“Person” : “2”,
“Car” : “1”
}
Right now I have an issue / challenge where there is a car on the drive. So any motion occurring fires an alert indicating a car is detected (but obviously not a new car).
Previously I just added a global value of car in Node-Red, and if that value increased by 1 then fire the alert. This was useful as if 2 cars were there, it only fired when the new ones arrived the first time. Not every time any motion caused and alarm.
Any thoughts?
Detected object increases by 1
Re: Detected object increases by 1
1. The JSON lists all the objects detected, so to count "car" you can simply total the # of "car" objects in the returned JSON
2. With regards to stationary objects not showing up again, check out "match_past_detections" in objectconfig.
2. With regards to stationary objects not showing up again, check out "match_past_detections" in objectconfig.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
-
- Posts: 24
- Joined: Mon Jan 06, 2020 3:48 pm
Re: Detected object increases by 1
Epic, thank you! Appreciate you taking the time to respond!
-
- Posts: 14
- Joined: Tue Oct 15, 2019 11:22 am
Re: Detected object increases by 1
If I change "past_det_max_diff_area=5%" to 10% or set a lower value, what is happening then?
Re: Detected object increases by 1
Exactly what the text above it says. In other words, a stationery object doesn't always have the same "bounding box" around it. Let's assume you have a car standing still - if you ran object detection, you'd see the "bounding box" jiggle around. The change in box is due to different lighting conditions, other objects etc. So this setting gives you a "variation" control which basically says: If the new box is within X% distance of a previously detected box of the same category, assume its the same.Johnny1337 wrote: ↑Tue Feb 04, 2020 8:40 pm If I change "past_det_max_diff_area=5%" to 10% or set a lower value, what is happening then?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs