小编use*_*069的帖子

如何在 OpenCV 3.0 或更高版本中使用estimateRigidTransform,还有其他选择吗?

我想使用 OpenCV 的estimateRigidTransform 函数,但它抛出了一个错误。

AttributeError Traceback (most recent call last) in 30 31 #Find transformation matrix ---> 32 m = cv2.estimateRigidTransform(prev_pts, curr_pts, fullAffine=False) #will only work with OpenCV-3 or less 33 34 # Extract traslation

AttributeError: 模块 'cv2.cv2' 没有属性 'estimateRigidTransform'

我的 openCV 版本是 4.0.0。

python opencv numpy video-processing

7
推荐指数
1
解决办法
7838
查看次数

标签 统计

numpy ×1

opencv ×1

python ×1

video-processing ×1