Image text recognition tool based on Tesseract OCR.
pip3 install pytesseractpip3 install Pillowsudo apt install tesseract-ocrsudo apt install tesseract-ocr-chi-simpython3 skills/img-ocr/scripts/ocr.py /path/to/image.jpg
# Recognize Chinese + English
python3 skills/img-ocr/scripts/ocr.py screenshot.png
# Extract text from screenshot
python3 skills/img-ocr/scripts/ocr.py /path/to/screenshot.jpg
共 1 个版本