16 lines
197 B
Bash
16 lines
197 B
Bash
|
#!/usr/bin/zsh
|
||
|
|
||
|
sudo apt update -y
|
||
|
|
||
|
sudo apt build-dep -y --fix-missing \
|
||
|
python-imaging
|
||
|
|
||
|
|
||
|
sudo apt install -y \
|
||
|
gimagereader \
|
||
|
tesseract-ocr-all
|
||
|
|
||
|
|
||
|
tesseract input.png output --oem 1 -l eng
|
||
|
|