An example of how to use Norfair to track objects from multiple classes using both keypoints and bounding boxes. This example is based on OpenPose and YOLOv5.
-
Build and run the Docker container with
./run_gpu.sh
. -
Copy a video to the
src
folder. -
Within the container, run with the default parameters:
python demo.py <video>.mp4
For additional settings, you may display the instructions using python demo.py --help
.
Alternatively, the example can be executed entirely within keypoints_bounding_boxes_demo.ipynb
.
This example aims at showing the possibilities that Norfair offers to track objects from multiple classes using a single Tracker
instance. Also the example shows Norfair's ability to draw keypoints and bounding boxes for different types of objects.