How to fit an Image to a4 size sheet?

asked 2020-10-19 13:38:38 -0500

ambuje gravatar image

Hi I was working on a project and I am stuck at a point. With the help of image processing, I am able to find the dimension of objects in a frame. I am attaching the photo for more clarification.

https://i.stack.imgur.com/vl8Kh.png (Example)

So I am able to take out the dimensions. After this, I want to map this Image to an A4 size sheet image/paper i.e to draw these exact dimensions according to a4 size sheet. The images could be of any shapes. I want edges of that Image on the a4 size sheet(I am able to compute edges with the help of Canny Edge detection)

Thanks

edit retag flag offensive close merge delete

Comments

please put your image here, not on an external site, where it will expire and render your question useless, thank you.

berak gravatar imageberak ( 2020-10-20 02:05:47 -0500 )edit