OpenCV perspective transform in python

前端 未结 3 1852
灰色年华
灰色年华 2021-01-14 10:47

I\'m trying to rectify an image in python. I have a Homography H (from a rotation matrix that rotates around the x, y and z axis) that looks like this for example: [

3条回答
  •  温柔的废话
    2021-01-14 11:32

    I think what you want is cv2.warpPerspective (see documentation (link)), not cv2.perspectiveTransform.

提交回复
热议问题