gocr

Command line OCR

Install

All systems
curl cmd.cat/gocr.sh
Debian Debian
apt-get install gocr
Ubuntu
apt-get install gocr
Arch Arch Linux
pacman -S gocr
image/svg+xml Kali Linux
apt-get install gocr
Fedora
dnf install gocr
Windows (WSL2)
sudo apt-get update sudo apt-get install gocr
OS X
brew install gocr
Raspbian
apt-get install gocr

gocr

Command line OCR

gocr is a multi-platform OCR (Optical Character Recognition) program. It can read pnm, pbm, pgm, ppm, some pcx and tga image files. Currently the program should be able to handle well scans that have their text in one column and do not have tables. Font sizes of 20 to 60 pixels are supported. If you want to write your own OCR, libgocr is provided in a separate package. Documentation and graphical wrapper are provided in separated packages, too.