I'm using Zoneminder since a while, but the Ubuntu update to 22.04 had a couple of consequences. I had to reinstall the entire ZM + Eventnotification.
I run on Ubuntu 22.04.
ZM: version 1.36.33 / "apiversion":"2.0"
zmeventnotification last stable version v6.1.27.
Python 3.10.6
openCV version '4.7.0'
Everything runs fine (zm interface works, zmeventnotification seems to be running), but I cannot get the detection working properly. By testing the object recognition with:
Code: Select all
sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh 1508
Only the zmesdetect.log give me an hint:
04/05/23 15:48:14 zmesdetect[1878087] ERR detect_sequence.py:713 [Error running model: invalid index to scalar variable.]
04/05/23 15:48:16 zmesdetect[1878087] ERR face_dlib.py:110 [Error loading KNN model: No module named 'sklearn.neighbors._dist_metrics']
04/05/23 15:48:19 zmesdetect[1878087] ERR detect_sequence.py:713 [Error running model: invalid index to scalar variable.]
I'm searching since a couple of days the issue, found some forums related to the yolo.py, but nothing helped.
Does one of you have an idea?
Best regards
Alex