repositorypackage
0.0.0-20241217070426-f2c79afc560a
Repository: https://github.com/szmelc-inc/ocr.git
Documentation: pkg.go.dev
# README
OCR
Optical Character Recognition in Go

Building
Install required dependencies
golang scrot tesseract-ocr tesseract-ocr-eng
And make sure you'r go installation is on $PATH, eg doexport PATH=$PATH:/usr/local/go/bin
Run this script to make it quick and easy!
git clone https://github.com/Szmelc-INC/OCR/ && cd OCR
# Compiling binary
go mod init ocr
go mod tidy
go build -o ocr main.go
# Adding binary to /bin/
sudo chmod +x ocr && sudo mv ocr /bin/ocr
# Cleaning
cd ../ && rm -fr OCR
echo "Complete!" && exit