votchallenge / toolkit

The official VOT Challenge evaluation and analysis toolkit
http://www.votchallenge.net/
GNU General Public License v3.0
158 stars 46 forks source link

How to decode masks from groundtruth.txt file? #24

Closed xiankgx closed 3 years ago

xiankgx commented 3 years ago

Hi, I've downloaded the dataset using this toolkit CLI using the initialize command.

However, I'm not sure how do I extract the masks from the given groundtruth.txt file. What format are the masks encoded in? Appreciate any help given. Thank you.

lukacu commented 3 years ago

The code for mask IO is available in vot/region/io.py although I am not sure why would you want to use it directly, the mask is decoded by the toolkit and made available to the tracker in a matrix form.