Solved

Any idea in imaging...

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

830 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