iamx-ariful-islam/Image-To-Text
A Python CustomTkinter application that extracts text from images using Tesseract-OCR, featuring a simple, modern and user-friendly interface
πΌοΈ Image To Text (OCR using Python)
Convert images into editable and searchable text using Tesseract OCR and Python. This tool extracts text from images (like scanned documents, screenshots or handwritten notes) with high accuracy. Using CustomTkinter for graphical user interface.
π Technologies Used
Tkinter
Tkinter is Pythonβs standard GUI library used for building cross-platform desktop applications.
CustomTkinter
CustomTkinter extends Tkinter with:
- Modern, consistent design
- Light & Dark themes
- High-DPI scaling
- Fully customizable modern widgets
Together, they ensure a smooth UI experience on Windows, macOS and Linux.
| Component | Description |
|---|---|
| Language | Python 3.x |
| GUI Framework | CustomTkinter |
| Core Libraries | Tkinter, CustomTkinter |
| Software Engine | Tesseract-OCR |
π Features
- πΈ Extracts text from any image file (
.jpg,.png,.bmpetc.) - π§ Uses Tesseract OCR for optical character recognition
- π¬ Supports multiple languages (English by default)
- πͺΆ Lightweight, fast and easy to integrate into other projects
- π Batch image processing supported
- π» Cross-platform (Windows, Linux, macOS)
π§° Installation Steps
Step 1. Install Tesseract OCR
Download and install Tesseract-OCR:
After installation, find the installation path (for example): C:\Program Files\Tesseract-OCR\tesseract.exe
Add this path into your python script or system PATH.
Step 2. Clone the repository
git clone https://github.com/iamx-ariful-islam/Image-To-Text.git
cd Image-To-TextStep 3. Install Python Dependencies
The requirements.txt file, lists of all the Python libraries that "image to text" depends on and installs those packages from the file:
pip install -r requirements.txt
# or
sudo pip install -r requirements.txtStep 4. Run the Application
python main.pyπ Folder Structure
Hereβs the structure of the Image To Text project:
image-to-text/
β
βββ screenshots/
βββ example.png
βββ main.py
βββ notes.txt
βββ LICENSE
βββ README.md
βββ requirments.txtπΌοΈ Screenshots
Here are some screenshots of the Image To Text project:
Main Window

Output Main Window

About Main Window

π Notes File (How it works)
View full notes here: π notes.txt
- Download and install 'Tesseract OCR' on your computer.
- Locate the 'Tesseract OCR' installation path after installation.
- Add the 'Tesseract OCR' installation path to your program configuration or environment variables.
- Install the required Python packages using: 'pip install -r requirements.txt'
π€ Contributing
Contributions, suggestions, and feedback are always welcome! β€οΈ
To contribute:
- Fork the repository
- Create a new branch (
feature/new-feature) - Commit your changes
- Push and submit a Pull Request
π¬ You can also open an issue if youβd like to discuss a feature or report a bug.
π For more or connect with me
π License
The MIT License (MIT)
π Thank You for Visiting!
βGood design is about making things simple yet significantβ
β Md. Ariful Islam