opencv - OpenCV 4.0:类“cv::FastFeatureDetector”没有成员“DetectorType”
问题描述
我尝试使用 opencv_contrib 构建 OpenCV 4.0,但没有成功。
xfeatures2d.hpp
有以下行,错误在
cv::FastFeatureDetector::DetectorType
CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector<KeyPoint>& keypoints,
int threshold, bool nonmaxSuppression=true, cv::FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16);
我检查了 FasFeatureDetector 及其父级,该类确实没有 DetectorType 的定义。
我在此处发布以查看是否有其他人有此错误,或者是否是使用带有 opencv_contrib 的 OpenCV 4.0-alpha 的错误。如果有人可以提供帮助,谢谢。
解决方案
推荐阅读
- javascript - 无法将调试器与 react-native 应用程序连接起来?
- php - 为电子邮件取值多个复选框ajax php
- python - Django Rest Framework:仅针对特定选择显示对象
- android - Admob 奖励广告视频限制
- python - python读取csv受utf-8编码干扰
- php - echo specific array elements
- pandas - 在 pandas 的单独列中分配 2 的幂的存储桶范围
- php -
- javascript - jQuery 动态生成范围滑块
- azure - 使用 unc 路径从 Web 应用访问 Azure Blob 存储