Coder Social home page Coder Social logo

vehicle-image-recognition's Introduction

Traffic Images Vehicle Detection

Training of Model

image

  • Traffic Images downloaded from API and annotated using Roboflow, which is then exported for training of model
  • Import pre-trained model forom YoloV8 and fined-tuned (train) with exported data, then exported in ONNX Format
  • Prepare ONNX model for inference
Tools Description
Roboflow Computer vision framework for data collection, annotation, preprocessing and augementation. Supports custom datasets and smart labeling with pre-trained model on COCO (Common Objects in Context).
YoloV8 Pre-trained model that comes with different weights and sparcity of model. Model can be imported and fined-tuned with custom dataset for specific use cases.
ONNX Intermediary Machine Learning framework to convert between different ML frameworks to deploy accross differnet platforms. ONNX was used for easy deployment to Render cloud hosting & for comparison of model in different frameworks for a common platform.

Outcomes

Endpoint enacted that accepts a image URL. An example of the annoted image is shown below:

image

Confidence values for identified objects are also logged:

Class 0 : Score 0.906679630279541
Class 0 : Score 0.8510133028030396
Class 0 : Score 0.8255020380020142
Class 0 : Score 0.7501163482666016
Class 0 : Score 0.7322111129760742
Class 0 : Score 0.7169588804244995
Class 0 : Score 0.7063149213790894
Class 0 : Score 0.6881899833679199
Class 0 : Score 0.6813197135925293
Class 0 : Score 0.6607131361961365
Class 0 : Score 0.6455743312835693
Class 0 : Score 0.6336331367492676
Class 0 : Score 0.3735249638557434

Testing the ONNX model on test data yields an accuracy score of 0.706.

Images are hand annotated to ensure correct classfication of objects and control over classes.

vehicle-image-recognition's People

Contributors

tshjustin avatar

Watchers

Kostas Georgiou avatar  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.