Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Normalize document captured from camera in OpenCV

Tags:

opencv

I want to use a camera as a Document Scanner and I need to fix the distortion. I have seen solutions that allow the user to point on the corners of the document, and they fix the distortion according the points. I am trying to do that with OpenCV, but I cannot find a simple way to do that. Can somebody show me how o do that with simple 4 corners of the document?

Thank's Meir

like image 739
Meir Avatar asked Mar 01 '26 04:03

Meir


1 Answers

I found the solution here: nuigroup.com/forums/viewthread/3414 that's exactly what I was looking for.

like image 121
Meir Avatar answered Mar 04 '26 08:03

Meir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!