Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Segmentation fault (core dumped) OpenCV

$
0
0
Hi There! I am trying to use the OpenCV and SIFT method on ROS. When I try to use the SIFT I get an error "Segmentation fault (core dumped)" The example code snippet is shown below. img = cv2.imread("messi5.jpg") gray= cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) sift = cv2.FeatureDetector_create("SIFT") sift.detect(gray,None) cv2.imshow("window",gray) If I delete the "sift.detect(gray,None)" line it works, but doesn't answer the purpose of the work. I tried to find similar SOLVED questions but none of them suits for my problem. So, any recommendation?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>