Skip to content

RahulGupta77/Car-damage-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Car-damage-detection


Demo

car_video


Team members


Tech Stack used

  • Python
  • React (for frontend)
  • Flask API (for model deployment)

Libraries used

  • Tensorflow
  • LabelImg
  • Matplotlib
  • Pandas
  • Numpy

Project Description

  • This is a Car damage detection web app which detects the type of car damage in a given image
  • The model automatically generates bounding boxes around the damaged area.
  • I worked on the Machine Learning side of the project.

Model Buliding Procedure

  1. Data collection and cleaning : We labelled our own dataset using LabelImg library. The dataset consists of 2000+ images of damaged and undamaged cars. Further the damaged cars are labelled into 4 catogeries (Labels) Dent, Scratch, Broken-glass, Smashed.

  2. Data preprocessing : The output from the LabelImg library is an .xml file consisting the co-ordinates of labelled region. Those .xml files were converted .csv files along with their image name. Furhther the .csv files were converted into .record format for feeding into the model.

  3. Model training : Two models were trained, 1st to check whether the given car image is damaged or not. If the car is damaged then 2nd model was used to identify the type of damage. Both models were trained using transfer learning. Ssd_resnet_50 model from here was used as a pretrained model.


Output

  1. Tensorboard for damaged classification model:

damage model

  1. Tensorboard for Undamaged classification model:

Undamaged model

  1. Undamage prediction:

detection_output2

  1. Damage prediction:

detection_output4

detection_output12

detection_output6

detection_output17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages