IMAGENAMER/setup.sh

23 lines
617 B
Bash
Executable File

#!/bin/bash
echo "JUST FOR LINUX OR XDG OSs"
echo "install python: https://www.python.org/downloads/"
xdg-open "https://www.python.org/downloads/"
echo "also install tesseract https://tesseract-ocr.github.io/tessdoc/Downloads.html"
xdg-open "https://tesseract-ocr.github.io/tessdoc/Downloads.html"
read -p "Press any key to resume when installation finishes"
mkdir ImagesToConvert
mkdir ImagesOutput
pip install Pillow
pip install pytesseract
pip install hashlib
wget https://github.com/tesseract-ocr/tessdata/raw/4.00/eng.traineddata
sudo cp eng.traineddata /usr/share/tessdata/
echo "Installation finished!"