Event Server doesn't work with opencv-python 4.11.0.86

Current Development version likely to have breaking changes
Post Reply
Simpler
Posts: 77
Joined: Mon Nov 02, 2015 12:40 am

Event Server doesn't work with opencv-python 4.11.0.86

Post by Simpler »

After beating my head against a wall for a couple of days trying to figure out why the event server stopped working after updating my docker image, I finally figured out that opencv-python had automatically upgraded from 4.10.0.84 to 4.11.0.86.

Here's the error message that was being reported when debugging:

Code: Select all

02/19/25 14:40:40 zmesdetect_m8[655301] ERR detect_sequence.py:710 [Error running model: OpenCV(4.11.0) /io/opencv/modules/dnn/src/net_impl.cpp:119: error: (-215:Assertion failed) preferableBackend != DNN_BACKEND_CUDA || IS_DNN_CUDA_TARGET(preferableTarget) in function 'validateBackendAndTarget'
]
After forcing the earlier version of opencv-python, everything started working again.

I'm no opencv expert, so I'll let someone else figure out why, but this might help someone having trouble getting the eventserver up and running.

ZMES
_zmesdetect|_zmeventnotification
Post Reply