Skip to content

Output File Format

Andrés Solís Montero edited this page Apr 28, 2016 · 9 revisions

Annotate's output is defined as a list of 2D points (i.e, Xi, Yi) to allow for any polygon representation. The annotations are stored in a text file with the format:

frameN: X1, Y1, X2, Y2, ... , Xn, Yn

where Xi and Yi are the coordinates of corner i of the polygon in frame N, the N-th row in the text file. In case of multiple annotations in a single frame a '|' character will be use as separator:

frameN: X11, Y11, X12, Y12, ... , X1n, Y1n |  X21, Y21, X22, Y22, ... , X2n, Y2n | X31, Y31, X32, Y32, ... , X3n, Y3n

where Xyi and Xyi are the coordinates of corner i of the polygon y in frame N.

The amount of points are defined by the type of annotations used in the sequence.

Clone this wiki locally