Coder Social home page Coder Social logo

plugin-trafficstate's Introduction

YOLOv4

  • Functions for YOLOv4 are in the foler tool.
  • The functions in yolov4.py are to detect vehicles.
  • The class information is in detection folder -- the coco classes.

DeepSort

  • Functions for DeepSort that tracks vehicles are in siamease_net.py (main algorithm to track vehicles based on their features) and the folder deep_sort.
  • The functions are called at deepsort.py which is main class to run vehicle tracking.
  • Traffic state calculation are performed through functions in deepsort_plugin.py.
  • Traffic state calculation and vehicle tracking are based on the object detection results from YOLOv4, so that the deepsort_plugin.py cannot be excuted by itself -- they requires input values that came out from yolov4.

PyWaggle

  • We use the two methods (YOLOv4 and DeepSort) to calculate traffic state.
  • And the calculation results are sent through PyWaggle to Cloud (for detail information see PyWaggle).
  • The PyWaggle is simply implemented in app.py, and still testing the modules (3/27/2021).
  • To build the plugin as a Docker container to run in Waggle nodes, refer exmple plugin and a wiki (3/31/2021).

Notes to developer:

  • Timestamp for each traffic state needs to be the time when the video captured: The timestamp must be provided with the video.
  • The waggle.plugin.publish function is tested, and checked with log.
  • Not yet plugin-ized (3/30/2021): needs to be dockerized and create sage.json and others using virtual waggle

plugin-trafficstate's People

Contributors

gemblerz avatar seonghapark 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.