HexBug Head Tracking
Framework to track a freely and randomly moving object (“HexBug”) head from a video, within the context of the Tracking Olympiad (TRACO) course.
For the SS2023 Tracking Olympiad course at FAU, we had to propose a solution in groups of three to gain hands-on experience as AI developers. The task involved tracking the heads of all the HexBugs visible in a 10-second video, under various background conditions while maintaining a static background.
A set of videos containing the ground-truth positional information was provided at the beginning of the course. The team’s score was evaluated by applying the tracking algorithm to previously unseen or withheld videos at the end of the course and we achieved the second place between 7 groups.
Our solution is composed of four steps:
- HexBug detection (YOLO-NAS) followed by box filtering (ViBe) based on background subtraction and Non-Maximum Supression (NMS)
- Object tracking and box interpolation (CLIP-ViT + K-means)
- HexBug-agnostic segmentation (FastSAM)
- Head position estimation based on an ellipsoid representation of the HexBugs
The pipeline is illustrated in the following image.
We show two additional examples of our solution: