Solved

Any idea in imaging...

Posted on 2004-04-21
6
145 Views
Last Modified: 2010-05-02
Can any one tell me how does the imaging software works..
i.e.  For a tif file which contains a barcode in it...
How the softwares recognize the barcode in it, and
How the softwares reads a particular area of the image and gives the text is that area..




0
Comment
Question by:no1nincompoop
  • 2
  • 2
6 Comments
 
LVL 6

Expert Comment

by:LunaSkye
ID: 10878343
That is a very general question.

As far as the bar code goes, it is just a series of vertical lines. In a graphics file all pixels are saved in an array of colors (basically).  By simply checking a certain area of that array, you can read to see where exactly the vertical lines of the bar code are.  These lines can then be interpreted to mean whatever they should to the bar code reader.

As far as text.. I dont believe a tiff file saves things as separate entities, just as a big raster map.  So for text, there are programs out there that examine the pixel configuration to try to "interpret" text out of it.  Thats what OCR software does with an image that has been scanned... It can translate raster pixels into actual font text values.

I hope this helps..
-Andrew
0
 

Author Comment

by:no1nincompoop
ID: 10899369
thanks lunaskye...
i got some idea... but i still need some more information..
i just want to know what the OCR does...that is my requirement...
can any one provide me some solution or idea that... how to read text... how to read the pixel configuration....

0
 
LVL 6

Expert Comment

by:LunaSkye
ID: 11144768
Hmm.. thats a pretty in-depth question..
From what i hear its pretty complex. Their algorythms for identifiying text from blobs of pixels are most likely proprietary. I dont expect that they woudl ever share them willingly with anyone.

From my general understanding of it, though, i believe they try to form vectors based on the pixel configuration.  General Meaning: Find and Isolate a certain blob of connected pixels, (i.e. a letter), then find extremes of that blob.  From the extremes, create lines, a certain configuration of lines would be recognized as a letter.. cross reference a line configuration against a database of all available characters, and spit out the ascii code.  There would have to be some tolerance involved of course, if osmething is CLOSE to the character, maybe they would taek the closest match.

Another idea is maybe they have on file a saved bitmap of characters, if by overlaying the "blob" from the scan over the recognized character, and using boolean logic, you could see how closely your scan resembles a saved character picture, THe one that is the closest match (the most pixels line up), that is the scanned character..

(Not an expert on this stuff)
-Andrew
0
 

Author Comment

by:no1nincompoop
ID: 11413056
hello moderators...

I haven't got the required answer.. so I cannot give points to any one...

Wht can be done...

Regards
no1nincompoop


0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 11447849
PAQed, with points refunded (125)

Netminder
Site Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now