Skip to main content

[JAI] OCR

8 replies [Last post]
Anonymous

Does anyone know of an OCR engine that works with Java? I need something
something that I can pass images to (rather than passing an image path
to a dll or API like Asprise to give me back results). Is there anything
now or in the works designed to work with JAI or perhaps with awt?

This will be for zonal OCR primarily. User selects part of an image to
be read and sub-image is created. Want to pass the sub-image to the OCR
engine. Otherwise, I have to save the sub-image out as BMP (or supported
type) and pass the path to the OCR engine, get results and erase the
image. Not ideal for this app.

I found one system that allows you to put images on the system clipboard
and invoke the DLL to grab and process the image. If only it had a Java
interface, the engine developer lived in my hemisphere and I could
guarantee the platform was always Windows...

Take care and thanks.

Al
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
roncemer
Offline
Joined: 2009-04-14

Yes, as other commentors mentioned, it was a zip archive instead of tarball, and the filename was misleading.

I've re-created the archive as a tarball now, so you can just download it again and it should extract as .tar.gz.

kleiba
Offline
Joined: 2007-07-10

Hervé,

The file name is misleading: it a is zip archive rather than a gzipped tar.

Cheers,
Thomas

roncemer
Offline
Joined: 2009-04-14

Try this one: Java OCR.

It's 100% Java, no external shared libraries or DLLs, and works pretty well.

hbitteur
Offline
Joined: 2003-10-21

Hi Ron,
I downloaded your archive java-ocr-20090224-1.tar.gz
But I've been unable to expand it, perhaps it's corrupted. Could you check?
Thanks
/Hervé

kleiba
Offline
Joined: 2007-07-10

Hervé,

The file name is misleading: it is a zip archive rather than a gzipped tar.

Cheers,
Thomas

Message was edited by: kleiba

Robert Engels

Did you try http://www.javaocr.com/

Really a simple Google "java ocr" is all that is needed :)

_____

From: Al Wells [mailto:Al.Wells@revity.net]
Sent: Thursday, June 01, 2006 5:40 PM
To: interest@jai.dev.java.net
Subject: [JAI] OCR

Does anyone know of an OCR engine that works with Java? I need something
something that I can pass images to (rather than passing an image path to a
dll or API like Asprise to give me back results). Is there anything now or
in the works designed to work with JAI or perhaps with awt?

This will be for zonal OCR primarily. User selects part of an image to be
read and sub-image is created. Want to pass the sub-image to the OCR engine.
Otherwise, I have to save the sub-image out as BMP (or supported type) and
pass the path to the OCR engine, get results and erase the image. Not ideal
for this app.

I found one system that allows you to put images on the system clipboard and
invoke the DLL to grab and process the image. If only it had a Java
interface, the engine developer lived in my hemisphere and I could guarantee
the platform was always Windows...

Take care and thanks.

Al
[att1.html]

Ken Warner

Yeah Brian, why don't you just have someone write an all Java OCR :-?

Robert Engels wrote:
> Did you try http://www.javaocr.com/
>
> Really a simple Google "java ocr" is all that is needed :)
>
> _____
>
> From: Al Wells [mailto:Al.Wells@revity.net]
> Sent: Thursday, June 01, 2006 5:40 PM
> To: interest@jai.dev.java.net
> Subject: [JAI] OCR
>
>
> Does anyone know of an OCR engine that works with Java? I need something
> something that I can pass images to (rather than passing an image path to a
> dll or API like Asprise to give me back results). Is there anything now or
> in the works designed to work with JAI or perhaps with awt?
>
> This will be for zonal OCR primarily. User selects part of an image to be
> read and sub-image is created. Want to pass the sub-image to the OCR engine.
> Otherwise, I have to save the sub-image out as BMP (or supported type) and
> pass the path to the OCR engine, get results and erase the image. Not ideal
> for this app.
>
> I found one system that allows you to put images on the system clipboard and
> invoke the DLL to grab and process the image. If only it had a Java
> interface, the engine developer lived in my hemisphere and I could guarantee
> the platform was always Windows...
>
> Take care and thanks.
>
> Al
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net

Robert Engels

I tested the javaocr. Doesn't seem to work very well, at least with the
images I tried.

Oh well...

I heard there was a pure Java Jakarta/Apache OCR project starting...

-----Original Message-----
From: Ken Warner [mailto:kwarner@uneedspeed.net]
Sent: Thursday, June 01, 2006 6:11 PM
To: interest@jai.dev.java.net
Subject: Re: [JAI] OCR

Yeah Brian, why don't you just have someone write an all Java OCR :-?

Robert Engels wrote:
> Did you try http://www.javaocr.com/
>
> Really a simple Google "java ocr" is all that is needed :)
>
> _____
>
> From: Al Wells [mailto:Al.Wells@revity.net]
> Sent: Thursday, June 01, 2006 5:40 PM
> To: interest@jai.dev.java.net
> Subject: [JAI] OCR
>
>
> Does anyone know of an OCR engine that works with Java? I need
> something something that I can pass images to (rather than passing an
> image path to a dll or API like Asprise to give me back results). Is
> there anything now or in the works designed to work with JAI or perhaps
with awt?
>
> This will be for zonal OCR primarily. User selects part of an image to
> be read and sub-image is created. Want to pass the sub-image to the OCR
engine.
> Otherwise, I have to save the sub-image out as BMP (or supported type)
> and pass the path to the OCR engine, get results and erase the image.
> Not ideal for this app.
>
> I found one system that allows you to put images on the system
> clipboard and invoke the DLL to grab and process the image. If only it
> had a Java interface, the engine developer lived in my hemisphere and
> I could guarantee the platform was always Windows...
>
> Take care and thanks.
>
> Al
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net