-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Constructing Cascade from XML causes segfault #5492
Comments
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/failure-to-load-cascade-from-skimage-feature/55798/6 |
I figured this was likely due to out-of-bounds access somewhere, so I recompiled
|
I have no prior experience with this Cascade class in skimage or this feature in OpenCV, but I suspect the root difference is related to the difference in the classifier type used. The <featureType>LBP</featureType> while the XML file in this issue uses <featureType>HAAR</featureType> LBP = Local Binary Pattern while HAAR = Haar-like wavelet features (reference) Given that the struct where the error in my prior message occurs is named |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/failure-to-load-cascade-from-skimage-feature/55798/7 |
Running this gallery example on this XML file causes a segfault.
gdb reports the problem at
Here's the backtrace. I'd start investigating at
_load_xml
(L762) in_cascade.pyx
:The text was updated successfully, but these errors were encountered: