Human-detection-and-Tracking icon indicating copy to clipboard operation
Human-detection-and-Tracking copied to clipboard

error in reading 'model.yaml'

Open zghn opened this issue 6 years ago • 1 comments

Hi, I run 'python3 main.py -v video/' and the below error occured:

Traceback (most recent call last): File "main.py", line 140, in recognizer.read("model.yaml") cv2.error: OpenCV(4.1.0) /io/opencv/modules/core/src/persistence.cpp:2046: error: (-215:Assertion failed) isMap() in function 'operator[]'

I wana run the code on ubuntu 16.04 and opencv(4.1) and python 3.5. what's wrong?

thanks

zghn avatar May 17 '19 21:05 zghn

I have the same problem

haolin88 avatar Apr 11 '22 23:04 haolin88