Objective-C OpenCV SIGABRT on createLineSegmentDetector

asked 2019-06-17 06:04:10 -0500

kde713 gravatar image

OpenCV Version ver 3.4.6

I successfully configured opencv2.framework on my Xcode project, and tested with real-time edged image viewer (Record -> Gaussian Filter -> Dilate -> Canny -> View).

But when i add line

cv::Ptr<cv::LineSegmentDetector> lsd = cv::createLineSegmentDetector();

to write my own contour detection code,

my app crashed down with SIGABRT.

How can i fix this problem?

edit retag flag offensive close merge delete