Solved

Any idea in imaging...

Posted on 2004-04-21
6
146 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

785 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