Labels missing in notifications
Posted: Fri Dec 24, 2021 1:03 am
Not sure how and when this broke but it seems I rarely (if ever) get labels in my notifications any longer even though the snapshot includes the bounding boxes with labels. I did upgrade zoneminder and event server to latest version just 2 weeks ago so maybe thats where things went wrong.
Detections are also missing from MQTT:
Message 2 received on zoneminder/11 at 6:58 PM:
{
"state": "alarm",
"name": "Ended:Front Doorbell:(192577) Motion: All",
"detection": [],
"monitor": "11",
"hookvalue": 0,
"eventtype": "event_end",
"eventid": "192577"
}
I see the proper labels in the console: I noticed I also get this warning now as well, but not sure related since expected output is displaying:
Any pointers on where to look? Detect and event server logs show no errors or warnings.
Detections are also missing from MQTT:
Message 2 received on zoneminder/11 at 6:58 PM:
{
"state": "alarm",
"name": "Ended:Front Doorbell:(192577) Motion: All",
"detection": [],
"monitor": "11",
"hookvalue": 0,
"eventtype": "event_end",
"eventid": "192577"
}
I see the proper labels in the console: I noticed I also get this warning now as well, but not sure related since expected output is displaying:
Code: Select all
# /var/lib/zmeventnotification/bin/zm_detect.py --config objectconfig.ini --eventid 192577
[ WARN:0] global /tmp/pip-req-build-jr1ur_cf/opencv/modules/dnn/src/dnn.cpp (1442) setUpNet DNN module was not built with CUDA backend; switching to CPU
[s] detected:car:96% person:71% --SPLIT--{"labels": ["car", "person"], "boxes": [[362, 282, 454, 390], [52, 112, 344, 452]], "frame_id": "snapshot", "confidences": [0.963848352432251, 0.7135518789291382], "image_dimensions": {"original": [1080, 1920], "resized": [450, 800]}}