Can i reframe a square according to a square model with openCV ?

asked 2020-04-01 04:26:12 -0500

updated 2020-08-10 06:07:23 -0500

Hello everyone !

I'm working on a project (for my company) using openCV (C++/Qt).

I'm new to this library so I'm asking for your help.

What I want to do is reframing a square that has been taken in picture by the user.

I want to reframe/flatten a square according to another square which is my ideal model which I will use to reframe/flatten all the other squares taken in photos by the user.

According to that, is there any specific tools in openCV that will help me doing it ?

Hope I've been clear enough.

Thanks !

edit retag flag offensive close merge delete


Hope I've been clear enough.

maybe it would be helpful, to explain, why you need to do this, the context ?

are you able to detect your squares ? did you try sample code ?

example images ? if there's any code so far, show us ?

berak gravatar imageberak ( 2020-04-01 05:48:54 -0500 )edit