Part 5 — Integrate custom tracker into Videos Annotator tool [OpenCV Tracker]
In this part, we will learn how to integrate any tracker into Videos Annotator.
Last updated
In this part, we will learn how to integrate any tracker into Videos Annotator.
Last updated
Ok. This is the video annotation tool available in Supervisely. To launch the Videos Annotator, click on the videos dataset. Done!
Supervisely has two types of tracking algorithms:
Predefined — our base tracking solutions
Apps — custom tracking solutions
They become available when you select the annotated object. In this part, we will integrate our own tracker (Apps).
1. Add session tag to config
config.json (partially)
2. Handle track command
How to handle commands — see here. The most important thing is to write a handler for the track command.
src/main.py (partially)
The OpenCV tracker logic is described here. You can replace it with your own code (your own tracker).
In order for the Videos Annotator to see our application, we link it through the sessions tags space.
Only through the sly_video_tracking
tag will Videos Annotator see our application. So: