fossapup64 gocr already installed. (Solved Tesseract)

Moderators: 666philb, Forum moderators

Post Reply
User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

fossapup64 gocr already installed. (Solved Tesseract)

Post by peppyy »

See 3rd post. Went with Tesseract from PPM

Was looking for something to OCR (Optical character recognition) and PPM listed gocr as already installed. Does anyone know how well this works, or if there is a gui for this?

# gocr -h
released under the GNU General Public License
using: gocr [options] pnm_file_name # use - for stdin
options (see gocr manual pages for more details):
-h, --help, -V --version
-i name - input image file (pnm,pgm,pbm,ppm,pcx,...)
-o name - output file (redirection of stdout)
-e name - logging file (redirection of stderr)
-x name - progress output to fifo (see manual)
-p name - database path including final slash (default is ./db/)
-f fmt - output format (ISO8859_1 TeX HTML XML UTF8 ASCII)
-l num - threshold grey level 0<160<=255 (0 = autodetect)
-d num - dust_size (remove small clusters, -1 = autodetect)
-s num - spacewidth/dots (0 = autodetect)
-v num - verbose (see manual page)
-c string - list of chars (debugging, see manual)
-C string - char filter (ex. hexdigits: 0-9A-Fx, only ASCII)
-m num - operation modes (bitpattern, see manual)
-a num - value of certainty (in percent, 0..100, default=95)
-u string - output this string for every unrecognized character
examples:
gocr -m 4 text1.pbm # do layout analyzis
gocr -m 130 -p ./database/ text1.pbm # extend database
djpeg -pnm -gray text.jpg | gocr - # use jpeg-file via pipe

I couldn't get to the website.
website: http://www-e.uni-magdeburg.de/jschulen/ocr/

Last edited by peppyy on Wed Jan 26, 2022 3:22 pm, edited 1 time in total.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

williwaw
Posts: 1662
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 148 times
Been thanked: 299 times

Re: fossapup64 gocr already installed.

Post by williwaw »

Link seems to redirect to

https://www-e.ovgu.de/jschulen/ocr/

User avatar
peppyy
Posts: 330
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: fossapup64 gocr already installed. (Solved Tesseract)

Post by peppyy »

Puppy Package Manager search Tesseract.
Installed English language version 3MB.
Installed gImageReader. 12MB. Launches from menu /graphic.

Good to go.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

Post Reply

Return to “Fossapup64”