Custom - Command Line
Make sure the OCR engine you want to use is all set up on your computer and you can call it from the command line
Variables
$IMAGE_PATH
$IMAGE_BUFFER
$IMAGE_BASE64
Custom
Go to Settings ➜ Modules ➜ OCR ➜ Custom Engine - Command Line
Examples:
1. Tesseract OCR
Github Page: https://github.com/UB-Mannheim/tesseract/wiki
Command:
"C:\Program Files\Tesseract-OCR\tesseract.exe" "$IMAGE_PATH" stdout -l jpn+eng --oem 3 --psm 6
Alt Command:
tesseract "$IMAGE_PATH" stdout -l jpn+eng --oem 3 --psm 6
2. EasyOCR
Github Page: https://github.com/JaidedAI/EasyOCR
Command:
easyocr -l ja en -f "$IMAGE_PATH" --detail=0 --gpu=True
Last updated