I'm trying to run the face_detect example, but am encountering this error when running:
$ lein run
OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file /tmp/opencv-20170417-5320-58dniz/opencv-2.4.13.2/modules/core/src/persistence.cpp, line 5008
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv-20170417-5320-58dniz/opencv-2.4.13.2/modules/core/src/persistence.cpp:5008: error: (-2) The node does not represent a user object (unknown type?) in function cvRead
The xml came straight from homebrew and runs fine with the python bindings.
import numpy as np
import cv2
face_cascade = cv2.CascadeClassifier("/usr/local/Cellar/opencv/2.4.13.2/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml")
This is the clojure code I'm trying to run, it's the example code with a different file path for the XML.
I'm trying to run the
face_detect
example, but am encountering this error when running:The xml came straight from homebrew and runs fine with the python bindings.
This is the clojure code I'm trying to run, it's the example code with a different file path for the XML.
The other examples I've tried run without issue (I haven't tried them all).