[Tutor] help-Please help me to read Text From JPEG file (fwd)

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Sep 6 09:06:57 CEST 2004


[Forwarding to tutor at python.org.  When you reply, please make sure you're
using "reply-to-all" in your email client.  By doing so, you make sure
that one of the volunteers on Tutor can help you.]



---------- Forwarded message ----------
Date: Fri, 03 Sep 2004 17:18:35 +0530
From: "General Electronics,Phaltan" <str_kbs at sancharnet.in>
To: Danny Yoo <dyoo at hkn.eecs.berkeley.edu>
Subject: Re: [Tutor] help-Please help me to read Text From JPEG file

Hi Danny ,
I have near about 4000 JPEG images. The text in image is input data for
some database activity program. The same number of images with different
text will be collected for each month. So mannual OCR is not possible for
me. So I need to read text.
These image contains  meter like counters e.g. in Electricity meter or
Counter on Petrol
Pump display.
One option I am trying is comparing know digit image with each part of JPEG
image. If match found put data in ASCII text format in my list.  But it is
very lazy process.
Thanks
Arvind Sidhaye

----- Original Message -----
From: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
To: "General Electronics,Phaltan" <str_kbs at sancharnet.in>
Cc: <tutor at python.org>
Sent: Thursday, September 02, 2004 11:14 AM
Subject: Re: [Tutor] help-Please help me to read Text From JPEG file


>
>
> On Wed, 1 Sep 2004, General Electronics,Phaltan wrote:
>
> > Please help me to write python code to read Text from JPEG file and
> > store to standard TEXT file.
>
> Hi Arvind,
>
> The question you're asking is slightly odd.  JPEGs are binary: for the
> most part, they're not supposed to have text (except possibly some
> metadata).
>
> What are you trying to do?  It might help if you could tell us why you're
> trying to do this.  Are you trying to rewrite the standard 'strings' Unix
> shell command?
>
> Good luck to you.
>






More information about the Tutor mailing list