Giter VIP home page Giter VIP logo

pedestrian_tracker's Introduction

pedestrian_tracker

For this demo project, I used yolov5m.onnx, OpenCV, and customized sort.py from Alex Bewley’s SORT algorithm(simple online and real-time tracking).

Link: https://github.com/abewley/sort

I used a simple video for tracking (partial implementation) but if you use a complex video (When CCTV is closer and there is so much occlusion throughout the video), customized sort.py might throw errors and entire frames of the video won't be processed.

You can also implement this repo having been modified main.py in other projects i.e. Traffic_Surveillance, etc. The screenshot provided below is produced by the same repo after some minor modification.

traffic

An instruction from the official SORT algorithm Repo for implementing it in our own projects

Below is the gist of how to instantiate and update SORT. See the 'main' section of sort.py for a complete example.

from sort import *

#create instance of SORT
mot_tracker = Sort() 

# get detections
...

# update SORT
track_bbs_ids = mot_tracker.update(detections)

# track_bbs_ids is a np array where each row contains a valid bounding box and track_id (last column)
...

pedestrian_tracker's People

Contributors

chandra-ps612 avatar

Stargazers

 avatar

Watchers

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