What pattern to print on paper for best deskewing results?

asked 2018-02-23 13:57:47 -0500

sean118462 gravatar image

I'm trying to print a piece of paper, take a picture of it, and deskew the photo in order to read the contents of the paper.

I have a lot of flexibility on what I could print on the paper to help this process along. What is pattern should I print on the paper to produce the best deskewing results?

For example, I could print ArUco markers in the corners of the paper, then use the ArUco markers tutorial to locate the corners and deskew the image...

Or I could print a solid black border, and use findContours, etc.

There are probably many other techniques I could use too. Is there a best practice for this sort of thing?

Thanks!

edit retag flag offensive close merge delete