Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
28 user(s) are online (18 user(s) are browsing Forums)

Members: 4
Guests: 24

amigait, emeck, sailor, billyfish, more...

Support us!

Headlines

 
  Register To Post  

gocr
Just can't stay away
Just can't stay away


See User information
I want to read with gocr images of text that i grab from websites using grab.

grab can output them as jpeg, png or ILBM

I am not sure what files is should download ? where to find them.
gocr.tcl is not recogised as an executable, so i just tried using gocr from shell. For a png file a pngtopnm file seems to be needed? For a jpeg file djpeg. Other files are mentioned too gzip, etc. Where can i find them?

Go to top
Re: gocr
Amigans Defender
Amigans Defender


See User information
@JosDuchIt

Hmm, I ported gocr but I can't remember how to use it. I've just scanned through the docs and it looks like you need your source file to be PNM. You can use jpegtopnm to achieve this.
jpegtopnm file_to_convert.jpg >output.pnm (realistically it will output a PPM)
You can get jpegtopnm by downloading the NetPBM package.
You may be able to feed a jpeg straight into gocr when that is installed, there's a mention of that but I have no idea whether it works.

Then run it through gocr using something like
gocr output.pnm >output.txt

The character recognition wasn't good enough for my needs, hopefully you'll have better luck with it.

Go to top
Re: gocr
Just can't stay away
Just can't stay away


See User information
@Chris
Thanks for the hints.
i was able te make it work from shell using jpegtopnm or pngtopnm first then using gocr. Results were not brilliant, but on the PC ABBYY fineprint 6.0 was not better, although this SW allowed me to cut out a block to be read.

I am looking now for a simple SW permitting to just cut out a rectangular part of the image "CutOut This Image X, Y, Width, Height" from shell or using arexx? Any suggestion?

Go to top
Re: gocr
Just can't stay away
Just can't stay away


See User information
@JosDuchIt
Try PropperCropper from OS4Depot. It saves as JPEG so you may need another conversion to use the cropped image.

Go to top
Re: gocr
Just popping in
Just popping in


See User information
@xenic

Quote:

xenic wrote:
@JosDuchIt
Try PropperCropper from OS4Depot. It saves as JPEG so you may need another conversion to use the cropped image.

With ImageMagick you should be able to crop it and save it in any format you like. The port is quite old and I'm not sure if it will run under the latest OS 4.1, though:

http://os4depot.net/index.php?functio ... /edit/imagemagick-bin.lha

Here's a tutorial on the crop function:

http://www.imagemagick.org/Usage/crop/

Varthall

Go to top
Re: gocr
Just popping in
Just popping in


See User information
I used to have a good OCR that came with a Migraph handy scanner. It worked quite well using a "learn" feature. But I think that the bundled version only worked together with the handy scanner...
If I find it on an old CD backup, I can try to see if one can make it work...

Now, my version was limited (only works together with the scanner), but here you will find the complete version :


(dunnow if it is legal)


[Edit by afxgroup - Removed link to illegal software]
yes.. it is..


Edited by Ricossa on 2010/10/21 13:25:49
Edited by afxgroup on 2010/10/21 15:55:06
Go to top
Re: gocr
Just popping in
Just popping in


See User information
yess, it works
You have to transform your images to monochrome IFF.
I don't know why, but the output from BME (the graphics editor of Pagestream) is not recognized, but if you re-save it through PPaint, it works!!

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project