Giter Club home page Giter Club logo

multitracker-sagemaker's Introduction

Multi-Camera Tracking for Yolov5 + ByteTrack, with S3 exporting support

Features:

This repo is a reorganized version for people tracking, based on Yolov5 + ByteTrack, features currently supported are the following:

  1. multiple real-time streams / multple video files / local cameras inference support
  2. detail export for each track (track_id, best_image in base64, large_image in base64, start_time, end_time, trajectory, camera_id in coordinates, etc.)
  3. Closure of unfinished tracks support
  4. Upload images, trajectory info to S3 support
  5. Visualization enhanced - support trajectory visualization

config.yaml

config.yaml file notes the configurations for reid on cloud, including [TBD]

Inference Modes:

First, install requirements.

pip install -r requirements.txt

Single Source Test

Track.py does people tracking on an local file and gives output (mp4, json) in ./runs/exp[last epoch] and visualize bounding boxes and tracks. Start local inference on one file:

python track.py --local-mode  --show-vid  --source abc.mp4

Multiple Source Test

for multiple camera from video file inference, edit source json file, specify whether it is video_file or stream

python track.py --local-mode  --show-vid --save-vid --use-local-json-file --save-to-numpy-sample  --source ./local_test_2.json

Local Camera Test

for single local camera (mac cameras tested) inference

python track.py --local-mode --use-local-camera --show-vid --save-vid --save-to-numpy-sample

Sagemaker Notebook Server

Sagemaker Notebook Server mode is for deployment on sagemaker, and read & write files to S3. For further instruction, plz send us a ticket for more details. The follow should be run in order to start the server mode

python track.py

Send requests to process files on S3

TO-DOs

None

multitracker-sagemaker's People

Contributors

wzt1001 avatar

Watchers

Eric avatar  avatar

Forkers

gzeureka

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.