Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Latest commit

 

History

History
92 lines (74 loc) · 5.08 KB

index.md

File metadata and controls

92 lines (74 loc) · 5.08 KB

Tracker module

The tracker module contains tracker related functions. The toolkit is highly flexible in terms of integration of existing trackers that can be run as external programs that communicate with the toolkit using a special protocol. For more information on the integration, please read the integration document or look at the examples in the examples directory.

Tracker descriptor

Each tracker is described using a tracker descriptor structure. The structure contains the following fields:

  • identifier (string): Each tracker has a unique identifier, i.e. a string that is used to identify that particular tracker within the evaluation system. Because of the simplicity there are certain limitations to the type of characters that can be used in the identifier. See valid_identifier function for more details.
  • command (string): The tracker executable command with all command line arguments. Since
  • directory (string): The directory where the results of the tracker are stored. This path is workspace dependent.
  • label (string): Human friendly label of the tracker, less restricted than tracker identifier.
  • metadata (structure): Additional metadata of the tracker.
  • autogenerated (boolean): If the structure was autogenerated (the description file was not found).
  • linkpath (structure): A cell array of paths that are used to set the system library path before executing the tracker. This way you can solve many linking issues.
  • interpreter (string): Type of interpreter used, empty string by default.
  • version (string, optional): Version of the tracker.
  • family (string, optional): Family of the tracker.
  • run (function): Function handle for the appropriate execution wrapper, either trax_wrapper or system_wrapper.

Most of the values in the descriptor are loaded from a tracker definition file. The definition file is a Matlab/Octave script with the name tracker_<identifier>.m that has to be visible to the interpreted (located in path). The file should define the following variables that are used by tracker_load to construct the descriptor structure:

  • tracker_command (string): The executable command that is used to invoke the tracker program. Contains the full path to the executable and optional input arguments.
  • tracker_label (string, optional): Human friendly label of the tracker. There are no restrictions to the format of the tracker label, but please try to keep it similar to the tracker identifier. If no value is given, the identifier is used instead.
  • tracker_linkpath (cell, optional): An optional cell array of additional search-paths to be set before executing the tracker.
  • tracker_interpreter (string, optional): The type of interpreter used or empty string. If you are using Matlab, enter matlab here.
  • tracker_metadata (structure, optional): A structure of additional tracker information.
  • tracker_parameters (structure, optional): Additional parameters that are passed to the tracker using the TraX protocol.

Module functions

Creation

Execution

  • tracker_evaluate - Evaluates a tracker on a given sequence for experiment
  • tracker_run - Executes a single tracker run with a callback

Visualization

These functions are used to manipulate visualization information for trackers.

Utility

General utility functions for trackers.