Skip to content

πŸ“ Devanagari Handwritten Character Recognition This project uses deep learning (with TensorFlow/Keras) to recognize handwritten Devanagari characters and digits, including both alphabets and numbers. The model is trained on the popular Devanagari Handwritten Character Dataset, achieving around 91% accuracy on the test set.

License

Notifications You must be signed in to change notification settings

Tejas-Indrale/devanagari-character-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ README.md

# Devanagari Character Recognition πŸ“πŸ”€

A deep learning-based project to recognize handwritten Devanagari characters using Convolutional Neural Networks (CNNs).

---

πŸ“‚ Project Structure

devanagari-character-recognition/ β”‚ β”œβ”€β”€ DevanagariHandwrittenCharacterDataset/ # Dataset (excluded from Git) β”œβ”€β”€ saved_models/ # Trained models and logs (excluded from Git) β”œβ”€β”€ src/ # Source code β”‚ β”œβ”€β”€ data_loader.py β”‚ β”œβ”€β”€ evaluate.py β”‚ β”œβ”€β”€ model_builder.py β”‚ β”œβ”€β”€ predict.py β”‚ β”œβ”€β”€ train.py β”‚ └── visualize.py β”œβ”€β”€ run_all.py # Main runner script β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ structure.txt # Folder/code structure β”œβ”€β”€ .gitignore # Git ignore rules └── README.md # You are here


---

πŸš€ Getting Started

πŸ”§ Prerequisites

- Python 3.10 or later
- pip

πŸ› οΈ Setup

1. Clone the repo:
   ```bash
   git clone https://github.com/Tejas-Indrale/devanagari-character-recognition.git
   cd devanagari-character-recognition
  1. Create and activate a virtual environment:

    python -m venv env
    .\env\Scripts\activate    # On Windows
  2. Install required packages:

    pip install -r requirements.txt
  3. Download and extract the dataset manually into:

    devanagari-character-recognition/DevanagariHandwrittenCharacterDataset/
    

🧠 Training

To train the model, simply run:

python run_all.py

It will:

  • Load the dataset
  • Build the CNN
  • Train the model
  • Save results in saved_models/

πŸ“ˆ Outputs

  • βœ… Trained model: saved_models/devnagri_character_model.h5
  • πŸ“Š Training metrics: training_history.png
  • πŸ” Evaluation reports and TensorBoard logs inside saved_models/logs/

πŸ“Œ Notes

  • env/, saved_models/, and dataset folders are ignored via .gitignore.
  • This repo is for educational/research use. Dataset should be downloaded manually due to size.

πŸ“œ License

This project is open-source and available under the MIT License


πŸ‘¨β€πŸ’» Author

Tejas Indrale πŸ”— GitHub Profile

About

πŸ“ Devanagari Handwritten Character Recognition This project uses deep learning (with TensorFlow/Keras) to recognize handwritten Devanagari characters and digits, including both alphabets and numbers. The model is trained on the popular Devanagari Handwritten Character Dataset, achieving around 91% accuracy on the test set.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages