Skip to main content

VideoAnnotator configuration

VideoAnnotator tasks are fully defined by their configuration files. These files comprise:

  • The main JSON file task_data.json that specifies all fields across all annotator versions (their visual layout, validators, etc)
  • Auxiliary JSON files (such as token_sets_values_config.json) that specifies certain parts of the main config (e.g. only variable parts varing between annotator versions). The main JSON file is construvted out of these by using mephisto form_composer CLI command.
  • Custom pieces of code specified in a special insertions subdirectory, such as HTML content of lengthy annotator instructions.

The structure and purpose of these files is detailed further in other sections:

To test the effect of configuration changes on a finished Task, you can use working VideoAnnotator examples in the examples/video_annotator_demo/data directory.