Code Monkey home page Code Monkey logo

wheel-detection's Introduction

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:

wheel-detection's People

Contributors

doguilmak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.