Skip to content

error in reading 'model.yaml' #45

Open
@zghn

Description

@zghn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions