Skip to content

detect and track people in a video taken from the MOT challenge. Assignment for Computer Vision and Multimedia Analysis course @ UniTN 19/20

Notifications You must be signed in to change notification settings

mattiamico/object-detection-and-tracking-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The task of this assignment is to detect and track people in a video taken from the MOT challenge

  • Tracking: for each pedestrian in the scene, provide the trajectory of the center of the bounding box. As a validation metric, compute the average displacement error between the center of your bounding box and the the one computed on the ground truth data (ground truth provides only top left corner, width and height of each bounding box).

  • Detection : for each pedestrian in the scene, provide the detected bounding box using a pedestrian detector.


This code has been tested on Mac OSX 10.14 with Python 3.7 (anaconda)

Dependencies:

This code makes use of the following packages

  1. scikit-learn
  2. scikit-image
  3. FilterPy and more others

To install required dependencies run:

$ pip install -r requirements.txt

How to run:

Dowload the required YOLO pre-trained mode ( https://drive.google.com/file/d/1FaxA6lHYoKV0SDCBtKD5vqKqRXOL8YjC/view?usp=sharing) inside path/to/A1_code

$ cd path/to/A1_code

the frames of the proposed MOT video are located at images/img1, in order to provide the reference data used. otherwise to run using an alternative video sequence, create a symbolic link from an external directory, containing the frames to be provided as input, to the expected local images directory img1:

$ ln -s /path/to/videoSequence/frames images/img1

To run the code and generate detection.txt and tracking.txt files and videos in output folder:

$ python sort.py --display

About

detect and track people in a video taken from the MOT challenge. Assignment for Computer Vision and Multimedia Analysis course @ UniTN 19/20

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages