tesseract-ocrHow can I use Tesseract OCR on a Raspberry Pi?
Using Tesseract OCR on a Raspberry Pi is quite simple.
- Install Tesseract OCR:
sudo apt-get install tesseract-ocr
Output example
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libleptonica-dev libtesseract-dev tesseract-ocr-eng
Suggested packages:
tesseract-ocr-osd tesseract-ocr-spa tesseract-ocr-chi-sim
tesseract-ocr-chi-tra tesseract-ocr-equ
The following NEW packages will be installed:
libleptonica-dev libtesseract-dev tesseract-ocr tesseract-ocr-eng
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,926 kB of archives.
After this operation, 9,848 kB of additional disk space will be used.
Do you want to continue? [Y/n]
- Set up the language:
sudo apt-get install tesseract-ocr-eng
Output example
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libleptonica-dev libtesseract-dev tesseract-ocr
Suggested packages:
tesseract-ocr-osd tesseract-ocr-spa tesseract-ocr-chi-sim
tesseract-ocr-chi-tra tesseract-ocr-equ
The following NEW packages will be installed:
libleptonica-dev libtesseract-dev tesseract-ocr tesseract-ocr-eng
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,926 kB of archives.
After this operation, 9,848 kB of additional disk space will be used.
Do you want to continue? [Y/n]
- Run Tesseract OCR:
tesseract image.jpg output
This will output a text file named 'output.txt' that contains the text extracted from the image.
Helpful links
More of Tesseract Ocr
- How can I integrate Tesseract OCR into a Unity project?
- How do I add Tesseract OCR to my environment variables?
- How can I use UiPath to implement Tesseract OCR language processing?
- How do I integrate tesseract OCR into a Qt application?
- How can I use Tesseract to perform zonal OCR?
- How do I use Tesseract OCR on macOS?
- How do I use tesseract-ocr with yocto?
- How do I install Tesseract-OCR using Yum?
- How can I use Tesseract OCR to recognize Kannada text?
- How do I use Tesseract OCR with Yum?
See more codes...