Using pytesseract to read text from dark background image and also chinese text from image with python
Installation required :
- Install tesseract-OCR https://github.com/UB-Mannheim/tesseract/wiki
- pip install pyautogui opencv-python pytesseract unidecode
To read from normal text or text in dark background :
- Copy "test_pytesseract.png" and "read_text_darkbg_image.py" into same folder
- python read_text_darkbg_image.py
To read from chinese :
- Copy "chinese.png" and "read_chinese_text.py" into same folder
- python read_chinese_text.py