This project implements an Optical Character Recognition (OCR) pipeline using Python, OpenCV, and Deep Learning (Keras/TensorFlow).
The notebook focuses on image preprocessing, feature extraction, and character recognition, with a specific emphasis on license plate detection and recognition.
All experiments and results are contained within a single Jupyter Notebook.
.
├── Optical character recognition.ipynb # Main Jupyter notebook
├── data.zip # Dataset (images / labels)
├── README.md # Project documentationThe notebook performs the following tasks:
-Image loading and visualization
- Image preprocessing using OpenCV
- License plate detection using contour analysis
- Image segmentation and resizing
- Model training using Convolutional Neural Networks (CNN)
- Optical character recognition on detected regions
pip install numpy pandas matplotlib opencv-python imutils tensorflow kerasIt is recommended to use a virtual environment or conda environment.
pip install numpy pandas matplotlib opencv-python imutils tensorflow keras- The dataset is provided as data.zip
- Contains training images used for OCR / character recognition
- Must be extracted before running the notebook
unzip data.zipEnsure the dataset path inside the notebook matches your local directory structure.
- Clone the repository:
git clone <YOUR_REPOSITORY_URL>
cd <repository_name>- Extract the dataset:
unzip data.zip- Launch Jupyter Notebook:
jupyter notebook- Open:
Optical character recognition.ipynbThis project leverages a combination of Computer Vision and Deep Learning techniques for optical character recognition.
The following OpenCV-based techniques are used for image processing and region extraction:
- Image preprocessing
- Contour detection
- Region of Interest (ROI) extraction
Deep learning is used for character classification and recognition:
- CNN-based classification
- Keras with TensorFlow backend
- ImageDataGenerator for data augmentation
- This project is intended for academic and learning purposes.
- You are free to modify and extend the notebook.
- Shakthibala
- Matches ipynb-style projects
- Clear dataset instructions (
data.zip) - Recruiter & academic friendly
- GitHub-rendering safe
- Easy for anyone to reproduce results
If you want, I can:
- Add dataset description tables
- Add results screenshots section
- Rewrite this as a resume-grade ML project
- Convert notebook into a Python package structure
Just tell me 👍