OpenCV 3.0 and Python segfault with detectMultiScale (Bug #4266)


Added by Mike Feist almost 10 years ago. Updated almost 10 years ago.


Status:Cancelled Start date:2015-04-07
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:objdetect
Target version:-
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x64
Pull request:

Description

So we first trained our data using opencv_traincascade, this worked fine. But then when we loaded the cascade into our python application and tried to detect objects it gave us a segfault. This issue went away when we moved to Python 2.7 and OpenCV 2.4.10. We also tried both Python 2.7 and Python 3.4 with OpenCV 3.0 with the same results.

netCascade = cv2.CascadeClassifier('cascade.xml')

...

nets = netCascade.detectMultiScale(gray, 1.3, 5)


History

Updated by Philip L almost 10 years ago

  • Status changed from New to Cancelled

Also available in: Atom PDF