Android Question Mileage Extraction From Odometer Pictures

Bladimir Carrillo

Member
Licensed User
Longtime User
May be somebody knows or developed a library to do that ?
I was testig with OCR but do not run.

You can find an interesting explanation about this project here


Any ideas ?
 

DonManfred

Expert
Licensed User
Longtime User
I was testig with OCR but do not run.
OCR depends on a good quality image to recognize known Characters.

It can be of much help if you first crop the part of the image with the Odometer. Run the OCR on the Cropped image then.

fams-05-00061-g004.jpg

I mean the red frame in the exampleimages.
Best result you´ll get with exact frame size and position though.

I did something similar with the results from a Playstationgame.
The image is converted to grayscale to rise the good results first.

The Image is then splittet into smaller ones.
These images are recognized through Tesseract then.

See the attached zip for the single images and the tesseract result files for them.

FCFD7D26-A4AC-48F0-808D-D0859D1D6F07.jpg
 

Attachments

  • FCFD7D26-A4AC-48F0-808D-D0859D1D6F07.zip
    499.7 KB · Views: 171
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Please can you have an example to do that ?
What do you need help with?
Splitting an image into pieces?
Running OCR (Tesseract) on am Image?

The full code i can not share as it is part of my Discord-Bot (30k lines)

Also it does not help you with your issue.
You have to KNOW the correct position of something to crop an Image based on the bounds you already know.
Look at the image i posted in #3. The positions of the driver, Car, Times are all at a specific positions. On every result-image.
 
Last edited:
Upvote 0
Top