Assertion failed (_queryDescriptors.type() == trainDescType) in cv【解决方法】

今天爱分享给大家带来Assertion failed (_queryDescriptors.type() == trainDescType) in cv【解决方法】,希望能够帮助到大家。
错误


OpenCV(3.4.1) Error: Assertion failed (_queryDescriptors.type() == trainDescType) in cv::BFMatcher::knnMatchImpl, file C:\projects\opencv-python\opencv\modules\features2d\src\matchers.cpp, line 744
Traceback (most recent call last):
cv2.error: OpenCV(3.4.1) C:\projects\opencv-python\opencv\modules\features2d\src\matchers.cpp:744: error: (-215) _queryDescriptors.type() == trainDescType in function cv::BFMatcher::knnMatchImpl


原因

BFmatcher找不到匹配点,送进来匹配的两个图的特征基本上没有可以匹配的地方,检查图片本身是否经过处理后存在问题,或者本身两幅图就无法匹配。

原文链接:https://blog.itblood.com/2500.html,转载请注明出处。
0
荒诞的诱惑0.04.1官中汉化版[PC+安卓/2.60G/更新] [国产SLG/首发/沙盒]
荒诞的诱惑0.04.1官中汉化版[PC+安卓/2.60G/更新] [国产SLG/首发/沙盒]
10分钟前 有人购买 去瞅瞅看

站点公告

显示验证码
没有账号?注册  忘记密码?