This project focuses on classifying Mongolian vehicle license plates based on the number of characters present in the plate.
The task is a binary classification problem:
- Class 0 → Plate contains 6 characters
- Class 1 → Plate contains 7 characters
The model is implemented using PyTorch with a Convolutional Neural Network (CNN) architecture.
Given an image of a vehicle license plate, the goal is to predict whether the plate contains 6 or 7 total characters.
This requires the model to learn visual patterns from plate structures, including variations in formatting and symbols.
This project uses a synthetic dataset based on Mongolian vehicle license plates.
- Total images: 3000
- Training set: 1000 images
- Test set: 2000 images
- Image type: JPG
- 0 → Plate contains 6 characters
- 1 → Plate contains 7 characters
- Some plates include additional symbols such as Soyombo
- Country identifiers like MNG / MGL may appear
Dataset format includes:
train.csv→ training labelssample_submission.csv→ submission format
A Convolutional Neural Network (CNN) is used to extract features from images and perform classification.
- Load dataset from CSV
- Preprocess images (resize, normalization)
- Train CNN model
- Evaluate performance using accuracy
- Predict on unseen test data
- Generate submission file
- Python
- PyTorch
- NumPy
- Pandas
- PIL (Image processing)
The model is evaluated using Accuracy score.
ID,label
0,0
1,1
2,0
# Clone repository
git clone https://github.com/BeBecpp/CNN-Image-Classification.git
# Navigate to project
cd CNN-Image-Classification
# Install dependencies
pip install -r requirements.txt
# Train model
python train.py
# Generate submission
python predict.pyThe model is able to learn meaningful features from plate images and generalize to unseen data.
(Add accuracy here if available, e.g. Accuracy: 0.87)
- Improve model accuracy with hyperparameter tuning
- Add data augmentation
- Try deeper architectures (ResNet, EfficientNet)
- Build a web interface for image upload and prediction
Bayarbayasgalan (BeBe)
GitHub: https://github.com/BeBecpp Portfolio: https://nero404.blogspot.com/
This project is based on a competition-style dataset and demonstrates practical experience in:
- Deep learning workflows
- Image classification
- Data handling and preprocessing
- Model training and evaluation