473,405 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

odd question: how to "read" letters from an image?

VMI
Is it possible to "look" at an image and "read" the letters inside of that
image? For example, if I have several images of exactly the same size and
each has two lines of letters (Name, telephone) that always start and end in
the same exact position, is it possible to analyze that part of the image
and distinguish between the "light" pixels (the image background) and the
"dark" pixels (the pixels that compose the letters)? Then I can create a
string of those dark pixels.
I'm not looking for a definitive answer; I just want to explore some way of
doing this, even if it's very elemntary.

Thanks.
Nov 16 '05 #1
6 3868
VMI wrote:
Is it possible to "look" at an image and "read" the letters inside of that
image? For example, if I have several images of exactly the same size and
each has two lines of letters (Name, telephone) that always start and end
in the same exact position, is it possible to analyze that part of the
image and distinguish between the "light" pixels (the image background)
and the "dark" pixels (the pixels that compose the letters)? Then I can
create a string of those dark pixels.
I'm not looking for a definitive answer; I just want to explore some way
of doing this, even if it's very elemntary.

Thanks.


That's OCR ( Optical Character Recognition ).

Here's a .net/c# article on it:

http://www.codeproject.com/dotnet/simple_ocr.asp
--
Texeme
http://texeme.com

Nov 16 '05 #2
"VMI" <vo******@yahoo.com> wrote in
news:#1**************@TK2MSFTNGP09.phx.gbl:
Is it possible to "look" at an image and "read" the letters inside of
that image? For example, if I have several images of exactly the same
size and each has two lines of letters (Name, telephone) that always
start and end in the same exact position, is it possible to analyze that
part of the image and distinguish between the "light" pixels (the image


Yes. You need to find an OCR lib.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Nov 16 '05 #3
Isn't that how Alcida people were communicating with each other?

"VMI" <vo******@yahoo.com> wrote in message
news:#1**************@TK2MSFTNGP09.phx.gbl...
Is it possible to "look" at an image and "read" the letters inside of that
image? For example, if I have several images of exactly the same size and
each has two lines of letters (Name, telephone) that always start and end in the same exact position, is it possible to analyze that part of the image
and distinguish between the "light" pixels (the image background) and the
"dark" pixels (the pixels that compose the letters)? Then I can create a
string of those dark pixels.
I'm not looking for a definitive answer; I just want to explore some way of doing this, even if it's very elemntary.

Thanks.

Nov 16 '05 #4
Landi wrote:
Isn't that how Alcida people were communicating with each other?


I thought that was steganography...shoving encrypted information into
JPEGs or other compressed picture formats. I could be wrong, though.

Nov 16 '05 #5
Thanks Cad,
I really wasn't expecting an answer but thanks for the info.
I don't know anything about it so I will take your word for it.

-- Landi

"Chad Taylor" <ca****@gmail.com> wrote in message
news:LN*******************@fe40.usenetserver.com.. .
Landi wrote:
Isn't that how Alcida people were communicating with each other?


I thought that was steganography...shoving encrypted information into
JPEGs or other compressed picture formats. I could be wrong, though.

Nov 16 '05 #6

VMI wrote:
Is it possible to "look" at an image and "read" the letters inside of that image? For example, if I have several images of exactly the same size and each has two lines of letters (Name, telephone) that always start and end in the same exact position, is it possible to analyze that part of the image and distinguish between the "light" pixels (the image background) and the "dark" pixels (the pixels that compose the letters)? Then I can create a string of those dark pixels.
I'm not looking for a definitive answer; I just want to explore some way of doing this, even if it's very elemntary.

This is sometimes referred to as "OCR" (optical character recognition).
Your options are to either use an existing OCR libray or build your
own recognizer.
-Will Dwinnell
http://will.dwinnell.com

Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Askari | last post by:
Yesterday, ALL code in python work and nothing when I close(finish) a code. Today, when I close, some raise this windows error : Instruction at "0x00FC3D70" use memory address "0x00000000". Can't...
10
by: ZafT | last post by:
Thanks in advance for any tips that might get me going in the right direction. I am working on a simple exercise for school that is supposed to use read to read a file (about 10 MB). I am...
0
by: antsays | last post by:
I am trying to serialize a collection to disk using the code provided. This works just fine but when I try do copy and past the xml file to another location or sometimes even just click on the...
4
by: python | last post by:
in python , could I accomplish the purpose that "a=Console.read()" used in C? when program is running, I wanna add a statement like "a=Console.read()" in C language,it will wait for user's input,...
4
by: Jeff | last post by:
I have been able to store and retreive images and files as an image data-type into SQL Server. In code, C#, there is the option to display the image to the browser or store the file to a location...
2
by: buzzy | last post by:
Hi!! I have a question here where I used : Open sourceDir & sourceFile For Input As af Do While Not EOF(af) Line Input #af, textline If Trim(textline) Like "fruits" Then ...
8
by: eastcoastguyz | last post by:
I'm very new to RSS. I was given a URL that starts with "feed:". I want to be able to open this and read in its content into a PHP program to produce a report. I'm not interested in converting it...
70
by: quickcur | last post by:
hi can anyone explain me to read image to memory from a url it is very easy in java but it is hard to find an complete solution in c/c++. Thanks,
1
by: ascll | last post by:
Hi, Do you guy know how to make a ASP.net 2.0 checkbox "read-only"? Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.