OCRder is a Python application that performs Optical Character Recognition (OCR) on a selected area of the screen and displays the extracted text in a graphical user interface (GUI). The extracted text can also be saved to a file.
- Clone this repository.
- Install the required Python libraries using pip:
pip install pytesseract pillow customtkinter keyboard
- Download and install Tesseract OCR from here. Make sure to add Tesseract to your system's PATH.
- Run the
main.py
file using Python. - The OCRder GUI window will appear.
- Click the "Perform OCR" button or press the hotkey (Windows+Shift+X) to select an area of the screen to capture.
- The selected area will be processed using OCR, and the extracted text will be displayed in the GUI.
- Click the "Save" button to save the extracted text to a file. You will be prompted to choose a file location and enter a file name.
- You can customize the appearance mode and color theme of the GUI by modifying the
set_appearance_mode
andset_default_color_theme
functions. - The default appearance mode is "System" and the default color theme is "blue".
- You can change the hotkey for selecting the area by modifying the
keyboard.add_hotkey
function.
Contributions are welcome! Please feel free to submit a Pull Request.
- Thanks to the pytesseract library for making OCR in Python easy!
If you encounter any issues while running OCRder, make sure you have all the dependencies installed correctly and that the Tesseract OCR path is set correctly.
If you have any questions or need further assistance, please feel free to open an issue on GitHub.
Happy OCRing!