ITCoders / Human-detection-and-Tracking

Human-detection-and-Tracking
Apache License 2.0
850 stars 307 forks source link

error in reading 'model.yaml' #45

Open zghn opened 5 years ago

zghn commented 5 years ago

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

haolin88 commented 2 years ago

I have the same problem