I have a scanned document image as below :
I need to crop the document from the image.Can anyone tell me how to do with OpenCV .
I have a scanned document image as below :
I need to crop the document from the image.Can anyone tell me how to do with OpenCV .
In very clear samples like the one you provided:
However, this method will not work for 99% of samples. If you have more samples, add them to your post please.