Extracting text from Images using OCR in python.
To install "pytesseract": pip install pytesseract To install "numpy": pip install numpy To install "cv2": pip install opencv-python
After installing "pytesseract" module, open the folder where tesseract is installed and add the path to "tesseract.exe" to "pytesseract.pytesseract.tesseract_cmd" as a raw string.
This helps to not deal with setting up the environment variable for "Tesseract".
Link for the windows installer: https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.3.20231005.exe
To install "scikit-learn": pip install scikit-learn