Optical character recognition

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Optical character recognition

Post by josh »

Image

I want to find the x, y coordinates, or bounding box of where the numbers within the circles are located. They won't always be laid out like this or in circles. Ideally I should get some kind of output like

'1' is located at 200px X 300px lower left and 250px x 450px upper right
'2' is located at 220px X 320px lower left and 270px x 470px upper right
etc...

is there any good open source or commercial tools for processing images of these sorts?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Optical character recognition

Post by VladSun »

Well, in this case it's relatively easy to find these coordinates. You just need to find the originally used font (i.e. Arial, Verdana, etc.) build a set of different sized number and perform correlation analysis.
I bet this will achieve what you need.
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Re: Optical character recognition

Post by Jenk »

Never used it, simply searched for "opensource ocr" and this came up:

http://code.google.com/p/ocropus/
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Optical character recognition

Post by Weirdan »

Jenk wrote:Never used it, simply searched for "opensource ocr" and this came up:

http://code.google.com/p/ocropus/
Wouldn't work out of the box (I tried :) ), and has pretty scarce documentation. Perhaps it could be trained to recognize what josh wants, but it doesn't seem to be an easy task.
Post Reply