Skip to content
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.CASCADE_PEDESTRIANS generates CvException #3

Open
ajavamind opened this issue Feb 10, 2023 · 0 comments
Open

OpenCV.CASCADE_PEDESTRIANS generates CvException #3

ajavamind opened this issue Feb 10, 2023 · 0 comments

Comments

@ajavamind
Copy link

When I try to run pedestrian detection code (version 0.7 using modified LiveCamTest example)

println("OpenCV.CASCADE_PEDESTRIANS="+ OpenCV.CASCADE_PEDESTRIANS);
opencv.loadCascade(OpenCV.CASCADE_PEDESTRIANS);

A CvException occurs with this console log:

Processing video library using bundled GStreamer 1.20.3
Scanning GStreamer plugins... Done.
Java OpenCV 4.6.0
OpenCV.CASCADE_PEDESTRIANS=hogcascade_pedestrians.xml
Load cascade from: C:/Users/andym/Documents/Processing4/libraries/opencv_processing/library/cascade-files/hogcascade_pedestrians.xml
CvException: cv::Exception: OpenCV(4.6.0) D:\a\javacpp-presets\javacpp-presets\opencv\cppbuild\windows-x86_64\opencv-4.6.0\modules\objdetect\src\cascadedetect.cpp:1465: error: (-213:The function/feature is not implemented) HOG cascade is not supported in 3.0 in function 'cv::CascadeClassifierImpl::Data::read'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant