Usually we use 4 points for correcting perspective of an image. How can we use more number of points to convert a very distorted edged rectangle into a straight rectangle in opencv. Basically I'm trying to warp an image with a piece of cloth. The cloth edges are not straight. Illustrated through the following image
Asked
Active
Viewed 595 times
6

Sum-Al
- 193
- 1
- 9
-
hi Sum-ai can you find a way to do it ? – ehsan wwe Sep 06 '21 at 09:51
-
1Hi, yes, try something called "Affine Transformation" – Sum-Al Dec 05 '21 at 10:59