New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV Error: Unspecified error (The node is neither a map nor an empty collection) #25
Comments
Hi Purnima, |
Hello, |
Hi Purnima,
|
Hi Purnima,
After this run "create_face_model.py" using command: After that, you can run |
Hi Prashant, Thanks a lot for your help! My issue is resolved now. |
I am closing the issue. |
OpenCV Error: Unspecified error (The node is neither a map nor an empty collection) in cvGetFileNodeByName, file C:\projects\opencv-python\opencv\modules\core\src\persistence.cpp, line 891
Traceback (most recent call last):
File "main.py", line 137, in
recognizer.read("model.yaml")
cv2.error: C:\projects\opencv-python\opencv\modules\core\src\persistence.cpp:891: error: (-2) The node is neither a map nor an empty collection in function cvGetFileNodeByName
Earlier there was ' recognizer.load("model.yaml") ' in the original code but there is no attribute 'load' attribute in new version of current opencv which has been replaced by 'read'.
The text was updated successfully, but these errors were encountered: