Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Image 1 is the only numbers you want?

Look at your resource image. The number you want are the only numbers surrounded by blue. Isolate the color blue, and erase any small bits that are a similar color.

Then find the bounding box (contours, connected components, just checking each row an column for contents, lots of ways to do that).

Then do canny on the bounding box, and you should have something like Image 1. If you want to know the numbers, you need to do OCR, which is THIS module.