Reading Image Contents

A

ajay

Hi,

I want to read the text present in an image (jpg/gif). Does anybody
know about any perl module which serves this purpose?

Thanks,
Ajay
 
A

ajay

Thanks Paul.

My requirement is on the similar line but not exactly same.

I am working in anti-spam field. Actually i want to read the text
present in the images so that i can stop image spam (Mail which has
only image in it, no test contents) reaching inbox. Is it possible in
anyway to get the exact text (text + urls) present in the mail?

Ajay
 
A

A. Sinan Unur

Thanks Paul.

Please quote an appropriate amount of context when you reply.
I am working in anti-spam field. Actually i want to read the text
present in the images so that i can stop image spam (Mail which has
only image in it, no test contents) reaching inbox. Is it possible in
anyway to get the exact text (text + urls) present in the mail?

You may be able to get some mileage out of scanning software.

http://search.cpan.org/~lennerto/Win32-Scanner-EZTWAIN-0.01/EZTWAIN.pm

Sinan

--
A. Sinan Unur <[email protected]>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
 
R

Rick Scott

(ajay said:
My requirement is on the similar line but not exactly same.

I am working in anti-spam field. Actually i want to read the text
present in the images so that i can stop image spam (Mail which has
only image in it, no test contents) reaching inbox. Is it possible in
anyway to get the exact text (text + urls) present in the mail?

Perhaps my experience is markedly different from the average, but
how often do you see mail which contains only images and *isn't* spam?

IMHO, one of the most useful rules you can add to a mail filtering
setup is "kill on HTML", but perhaps that's just my plain-text console
junkie nature making itself heard.




Rick
 
A

A. Sinan Unur

Please quote an appropriate amount of context when you reply.


You may be able to get some mileage out of scanning software.

http://search.cpan.org/~lennerto/Win32-Scanner-EZTWAIN-0.01/EZTWAIN.pm

Sorry, this is an awful answer ... What you need is some kind of OCR
module, not TWAIN.

Sinan

--
A. Sinan Unur <[email protected]>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
 
A

axel

Perhaps my experience is markedly different from the average, but
how often do you see mail which contains only images and *isn't* spam?

Oddly enough I had a case which verged on this a couple of months
ago. I got an email from an organisation with whom I had an
appointment with a rather cryptic, 'please reply to this email if
you receive it'. So I did.

It was only later that I had another look at the email... just as
well as there was an image containing a map of how to get to a
changed address plus the address and details... all in the image
itself... which had to to save in a file and launch an external
program to read... some people are brain-dead.

Axel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,184
Messages
2,570,976
Members
47,536
Latest member
MistyLough

Latest Threads

Top