Answer the question
In order to leave comments, you need to log in
How can you straighten the perspective of images?
Hello, there are such images:
The main task is to align the perspective, imagemagick seems to be able to handle this, but for this, as I understand it, you need to get the coordinators of all 4 labels. With this difficulty, I have no idea how this can be done. Tell me where to go next, how you can get marks and align the perspective.
Answer the question
In order to leave comments, you need to log in
Gaussian blur - binarize - find boundaries - Hough transform - eggsbasket - find 4 maxima (these will be angles) - convert coordinates back - congratulations, you are great.
Hough transformation - two straight lines turned into two bright points
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question