问题标签 [freak]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
feature-detection - ORB 描述符可以与任何其他检测器一起使用吗?
我可以将 ORB 描述符与任何其他检测器(如 AGAST / FREAK)一起使用而不是 ORB 检测器吗?
它是否会产生更有效的结果。
python - 绘制匹配关键点时断言失败 BF BRISK+FREAK
我正在尝试使用缝合两个图像BRISK+FREAK
这是代码,当我尝试绘制匹配项时出现错误
错误:OpenCV(4.1.2)/io/opencv/modules/features2d/src/draw.cpp:225:错误:(-215:断言失败)i1> = 0 && i1 < static_cast(keypoints1.size())函数'drawMatches'
这是我得到的完整错误
使用:bf 特征匹配器原始匹配(蛮力):1967 ------------------------------------------------- -------------------------------------------------- 错误 Traceback (最近一次调用最后一次) in () 4 5 个匹配项 = matchKeyPointsBF(featuresA, featuresB, method=feature_extractor) ----> 6 img3 = cv2.drawMatches(trainImg,kpsA,queryImg,kpsB,matches,None,flags=cv2.DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS) 7 8
错误:OpenCV(4.1.2)/io/opencv/modules/features2d/src/draw.cpp:225:错误:(-215:断言失败)i1> = 0 && i1 < static_cast(keypoints1.size())函数'drawMatches'
似乎不知道这里出了什么问题,发现这个OpenCV Sift/Surf/Orb : drawMatch function is not working well无法理解如何纠正这个问题