简体   繁体   English

调用 create() 后 OpenCV SURF 崩溃

[英]OpenCV SURF crash after calling create()

Couldnt google it... OpenCV version 4.5.1 when calling无法谷歌它... OpenCV 版本 4.5.1 调用时

   Ptr<cv::xfeatures2d::SURF> detector = cv::xfeatures2d::SURF::create();

app crash.应用程序崩溃。 Others detectors ORB, FAST, SIFT are working properly.其他探测器 ORB、FAST、SIFT 工作正常。 Where can be the issue?问题可能出在哪里? I found some old topic about this solved by calling initModule_nonfree(), but it is not included in version 4.5,1?我通过调用 initModule_nonfree() 找到了一些关于这个的老话题,但它不包含在 4.5,1 版本中?

在此处输入图像描述

Problem solved by rebulding with:通过 rebulding 解决了问题:

OPENCV_ENABLE_NONFREE = checked OPENCV_ENABLE_NONFREE = 检查

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM