Skip to content

The aim of this project is to create a tire detection model. In the creation of this object detection model, ResNet50 and Object Detection API have been used.

Notifications You must be signed in to change notification settings

doguilmak/Wheel-Detection

Repository files navigation

Wheel Detection with ResNet50 and Object Detection API

automoblog

Picture Source: automoblog


Description

Manually checking each tire can be sped up by employing an automated camera system that captures images of vehicles as they drive past. Machine learning models can process these images to determine are there any tires or not. This dataset consists of images captured by an OpenMV Cam H7 Plus. It includes 900 240x240 grayscale images. Provided is a directory tire-dataset that contains the entire dataset as .jpg images.

In terms of diversity, this project has a relatively limited perception. If you want to diversify, you are free to modify. In addition, I just want to thank you for all the help Mr. Laurence Moroney! I learned a lot from you!


Acknowledgements

This dataset and information about dataset have been referred from Kaggle.


Keywords

  • Automobile and Vehicle
  • Object Detection
  • Computer Vision
  • SSD ResNet50
  • Object Detection API

Objective:

The aim of this project is to create a tire detection model based on the data. In the creation of this object detection model, ResNet50 and Object Detection API have been used.

  • Installling necessery libraries and models.
  • Build wheel detection model with ResNet50
  • Build ground truth boxes with colab_utils.annotate.


Required Inputs

Install TensorFlow

!pip install -U --pre tensorflow=="2.2.0"

Clone the tensorflow models repository if it doesn't already exist

if  "models"  in pathlib.Path.cwd().parts:
	while  "models"  in pathlib.Path.cwd().parts:
		os.chdir('..')
elif  not pathlib.Path('models').exists():
	!git clone --depth 1 https://github.com/tensorflow/models

Install the Object Detection API

%%bash
cd models/research/
protoc object_detection/protos/*.proto --python_out=.
cp object_detection/packages/tf2/setup.py .
python -m pip install .

Download SSD ResNet50 v1

!wget http://download.tensorflow.org/models/object_detection/tf2/20200711/ssd_resnet50_v1_fpn_640x640_coco17_tpu-8.tar.gz
!tar -xf ssd_resnet50_v1_fpn_640x640_coco17_tpu-8.tar.gz
!mv ssd_resnet50_v1_fpn_640x640_coco17_tpu-8/checkpoint models/research/object_detection/test_data/

Refecences


Contact Me

If you have something to say to me please contact me:

  • Twitter: Doguilmak
  • Mail address: doguilmak@gmail.com

About

The aim of this project is to create a tire detection model. In the creation of this object detection model, ResNet50 and Object Detection API have been used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published