Skip to content

Arash-Keshavarz/Car_Brand_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Car Model Detection

This project focuses on detecting and classifying car models using the Stanford Car Dataset. The implementation is done in a Jupyter Notebook using transfer learning with ResNet18 to perform fine-grained classification of car images.

Project Structure

car-model-detection/
├── car-model-detection.ipynb   # Main notebook with the complete pipeline
└── README.md

Features

  • Image preprocessing and data augmentation
  • Transfer learning using ResNet18
  • Training and validation on a labeled dataset of car models
  • Visualization of accuracy and loss during training
  • Evaluation on test images using confusion matrix and classification report

Requirements

Install the following Python libraries:

pip install numpy pandas matplotlib seaborn opencv-python scikit-learn torch torchvision

Results

  • Training accuracy: ~98.74%

  • Validation accuracy: ~88.36%%

Confusion matrix for the first 20 classes:

Confusion Matrix

Sample predictions on unseen test images:

Predictions

Contributions

Contributions are welcome! Please feel free to open issues or pull requests.

Contact: arashkeshavarzx@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors