How to straight an image by selecting four points in an Image?

Viewed 5470

I want to straight an image by selecting four points in the image using getPerspectiveTransform() method of opencv in java. I know it can be done using with opencv in python: getPerspectiveTransform. If anyone used this to achieve image straightening ..please help.

enter image description here

2 Answers
Related