- Install Norfair with
pip install norfair[video]
. - Install MMDetection with
pip install torch mmcv-full mmdet
. - Run
python demo.py <video file>
. - Bonus: Use additional arguments
--model_path
,--config_path
,--img_scale
,--conf_thres
,--max_track_distance
,--track_points
as you wish.
This example tracks objects using a single or double point per detection: the centroid or the two corners of the bounding boxes around objects returned by MMDetection Detector.