【发布时间】:2017-05-25 15:56:13
【问题描述】:
我尝试运行openCV 页面中为ORB 显示的示例代码。首先我要弄清楚cv2.ORB()的问题(改成cv2.ORB_create(),这个错误之后,出现了这个:
Traceback (most recent call last):
File "orb.py", line 17, in <module>
img2 =cv2.drawKeypoints(img,kp,color=(0,255,0), flags=0)
TypeError: Required argument 'outImage' (pos 3) not found
在做了很多博客和手册中显示的事情后,我决定将img添加到这个函数img2 =cv2.drawKeypoints(img,kp,img,color=(0,255,0), flags=0),因为pos (3)中的错误。它终于运行良好,但我想知道为什么只能这样运行,而不是官方页面说明的方式。
BR。
【问题讨论】: