Ask Your Question
1

[Solved] CascadeClassifier.detectMultiScale crash on Mac OSX

asked 2015-12-11 10:39:55 -0600

updated 2015-12-13 04:46:45 -0600

I'm using OpenCV 3 on Windows, Linux and Mac. My program goes to crash when calling the function CascadeClassifier::detectMultiScale. This happens only on Mac but not on Linux, Windows. This is the Mac bug report:

4 libopencv_objdetect.3.0.dylib 0x000000010fd68486 cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__1::vector<cv::rect_<int>, std::__1::allocator<cv::rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>) + 214 25 ssssss.ComputerVisionStudio 0x000000010e444cda QThProcessImage::DetectObjects(cv::Mat, cv::CascadeClassifier&, cv::CascadeClassifier&, QString) + 378

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-13 04:46:10 -0600

Solved by recompile OpenCV with -DWITH_OPENCL=OFF

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-11 10:39:55 -0600

Seen: 948 times

Last updated: Dec 13 '15