brew install tesseract tesseract-lang
sudo apt install tesseract-ocr-kor tesseract-ocr-kor-vert gscan2pdf
--tessdata-dir <PATH>
옵션으로 지정 혹은 TESSDATA_PREFIX
환경변수로 지정#cd ~/.config #git clone --recursive --depth=1 https://github.com/tesseract-ocr/tessdata_best.git #원하는 것들만 받기 mkdir -p ~/.config/tessdata_best wget -O ~/.config/tessdata_best/kor.traineddata https://github.com/tesseract-ocr/tessdata_best/raw/main/kor.traineddata wget -O ~/.config/tessdata_best/eng.traineddata https://github.com/tesseract-ocr/tessdata_best/raw/main/eng.traineddata export TESSDATA_PREFIX=$HOME/.config/tessdata_best