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]}}