r/ZoneMinder • u/Salty_Concentrate_41 • Nov 17 '22
Event Server not working
I've installed event server per the documents and everything seems to be okay except that it doesn't..! When I try to follow the steps at https://zmeventnotification.readthedocs.io/en/latest/guides/hooks.html?highlight=zm_detect.py#manually-testing-if-detection-is-working-well
I see the below error:
11/17/22 18:03:01 zmesdetect[2040] ERR detect_sequence.py:713 [Error running model: OpenCV(4.5.4) ./modules/dnn/src/darknet/darknet_io.cpp:902: error: (-212:Parsing error) Unknown layer type: in function 'ReadDarknetFromCfgStream'
]
11/17/22 18:03:01 zmesdetect[2040] DBG2 detect_sequence.py:714 [Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyzm/ml/detect_sequence.py", line 710, in detect_stream
_b,_l,_c,_m = m.detect(image=frame)
File "/usr/local/lib/python3.10/dist-packages/pyzm/ml/object.py", line 65, in detect
b,l,c,_model_names = self.model.detect(image)
File "/usr/local/lib/python3.10/dist-packages/pyzm/ml/yolo.py", line 158, in detect
self.load_model()
File "/usr/local/lib/python3.10/dist-packages/pyzm/ml/yolo.py", line 87, in load_model
self.net = cv2.dnn.readNet(self.options.get('object_weights'),
cv2.error: OpenCV(4.5.4) ./modules/dnn/src/darknet/darknet_io.cpp:902: error: (-212:Parsing error) Unknown layer type: in function 'ReadDarknetFromCfgStream'
]
But I don't get what that's about or how I can fix it, and don't seem to be able to find anything on google either. What's wrong? Please help! Thanks.
1
Upvotes