Skip to content

arthiondaena/SimpleOCR

Repository files navigation

OCR (OPTICAL CHARACTER RECOGNITION)

This is a simple OCR project which can recognize the character present in the image. For now, it is only capable of recognizing digits and capital letter.

Dataset

For digits, I have used MNIST dataset, and for alphabets I have used kaggle A-Z Handwritten Alphabets

Model

For the model architecture I have used Resnet architecture which you can read about here.

This is the image of the architecture I have used.

Model

Usage

First install the required modules from requirements.txt

Testing the model

If you would like to test the model, you can run GUI_predict.py and try. Here is the sample output you could expect.

OUTPUT

Training the model

If you would like to train the model, you need to download and extract the 'A-Z Handwritten Alphabets' to data/ and edit the ocr_train.py as per your needs. I have set it to 50 epochs, which would take around 300sec/epoch in google colab

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages