title: How to use estimateRigidTransform in OpenCV 3.0 or higher, Is there any other alternative?
body: <p>I want to use estimateRigidTransform function of OpenCV but it throws up an error.</p>
  
  <blockquote>
    <p>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</p>
    
    <p>AttributeError: module 'cv2.cv2' has no attribute
    'estimateRigidTransform'</p>
  </blockquote>
  
  <p>my openCV version is 4.0.0.</p>