Optical character recognition (OCR) wrapper for Tesseract OCR engine
100K+
PDF, png, jpg
text data
Dockerfile linkslatest (pyocr/Dockerfile)Extract text from a PNG image with the cincan tool:
cincan run cincan/pyocr samples/scam-sms.png
or using docker directly, the sample in absolute directory
(e.g. /home/myname/mysamples)
docker run --rm -v <SAMPLES>:/samples cincan/pyocr /samples/scam-sms.png
You can OCR only digits (phone numbers) with the -d flag:
cincan run cincan/pyocr samples/scam-sms.png -d
Using docker directly
docker run --rm -v <SAMPLES>:/samples cincan/pyocr /samples/scam-sms.png -d
Content type
Image
Digest
Size
244.5 MB
Last updated
almost 5 years ago
docker pull cincan/pyocr