3

I have a scanned document image as below :

Example of a scanned document

I need to crop the document from the image.Can anyone tell me how to do with OpenCV .

1
  • Take a look at this blog post. Commented Dec 11, 2015 at 11:17

1 Answer 1

0

In very clear samples like the one you provided:

  1. To Gray
  2. Canny
  3. FindContours
  4. Find biggest contour

However, this method will not work for 99% of samples. If you have more samples, add them to your post please.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.