我想使用 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。