Reading an image file data.........
Pete Shinners
pete at shinners.org
Thu Jul 3 12:06:25 EDT 2003
Suresh Kumar wrote:
> I scanned a page of my textbook and stored as a JPEG file. Now i want
> to read a text from the JPEG image which is at some location, say from
> (100,100) to (300,300). How can i read it? I am using PIL module for
> image handling and tkinter. Moreover i am new to PIL module. Is it
> possible to read a text from a JPEG file in python/tkinter?
what you want is a process called OCR (i think it means optical
character recognition, or something like that). it is the process of
translating an image into plain text. it looks like on linux you have
'clara', and 'gocr', and probable a few others. you will likely need to
call on these other tools to handle the OCR for you.
More information about the Python-list
mailing list