This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dependencies: pip install opencv-python-headless pytesseract numpy | |
import cv2 | |
import pytesseract | |
import matplotlib.pyplot as plt | |
# Path to Tesseract executable (change this according to your installation) | |
pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files (x86)\Tesseract-OCR\tesseract.exe' | |
def capture_and_parse_text(): |