Skip to content

Developed a desktop application using Python CustomTkinter, Pytesseract and MongoDb

Notifications You must be signed in to change notification settings

SayliDholam/Handwriting_Recognition

Repository files navigation

Handwriting Recognition Application

The primary objective of this project is to allow the processing of data which comes from sources which are not in readily available state for analytical functions to work upon them.
Here the concerned domain is the handwritten text base images from which text needs to be recognized, displayed and stored.
This is where the application of OCR features, image processing, image storing, and alphabetical recognition become relevant.


Technologies Used :

  • customertkinter : Python GUI library

    customtkinter is an extension of the standard Tkinter library for Python, designed to provide a more modern and customizable interface. It adds new features and widgets that are not available in the standard Tkinter library, making it easier to create visually appealing and responsive user interfaces.

    Features of customtkinter :
    Modern Look: Offers a more modern and sleek look for the widgets compared to the traditional Tkinter.
    Customization: Provides more options for customizing the appearance of widgets, including colors, shapes, and styles.

    You can install customtkinter using pip :
    pip install customtkinter

  • PyTesseract : OCR
    PyTesseract is a Python wrapper for Google Tesseract-OCR, an optical character recognition (OCR) tool for extracting text from images. It allows you to use Tesseract's capabilities within Python programs

    Download and Install PyTesseract

    Using pip command :
    pip install pytesseract pillow

    Write the below import in python code :
    from PIL import Image
    import pytesseract

  • MongoDB : Database
    MongoDB is a popular NoSQL database that stores data in JSON-like documents with a flexible schema. This makes it different from traditional relational databases, which store data in rows and columns.

    Download MongoDB:
    Go to the MongoDB Download Center and select the version that matches your operating system.

    Install MongoDB:
    Run the downloaded installer and follow the installation wizard.
    During installation, you can select the "Complete" setup type to install all MongoDB components.
    Ensure that the option to install MongoDB as a service is checked.

    Set up MongoDB Environment:
    After installation, you need to create directories for data and logs.
    md \data\db md \data\log

    Run MongoDB:
    Open a command prompt and start the MongoDB server by running:
    "C:\Program Files\MongoDB\Server\{your_version}\bin\mongod.exe"

    Connecting to MongoDB:
    To interact with MongoDB, you can use the MongoDB shell or a GUI tool like MongoDB Compass.

    Using MongoDB with Python
    pip install pymongo

    Python Script:
    from pymongo import MongoClient


Software Requirements :

  1. Operating system: Windows 7 or higher
  2. Front end: Python 3.11
  3. Back end: MongoDB x86_64_7.00
  4. Images samples in: .jpeg, .jpg, .png format



system_design
System Diagram


flowchart
Flowchart


er-diagram
Entity Relationship Diagram


handwriting-recognition
Handwriting Recognition


database
Database


About

Developed a desktop application using Python CustomTkinter, Pytesseract and MongoDb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages