Convert text in screenshot image to text with python
- Install Python 3
- Clone this repository and
cd
into itcd textfromimage
- (Optional) Create a virtual environment, for example with
python -m venv .venv
, and activate it - Install the required packages with
pip install -r requirements.txt
- Install Google's Tesseract OCR Engine, and ensure that
tesseract
can be reached from the command line by adding the directory to your system path. python textfromimage.py