info.labels
or bounding_boxes.labels
, provides a simple and intuitive way to store files and associated labels.
Directory structure
Directories containing data in this format will take the following structure:info.labels
file.
The info.labels
file can be located in each subdirectory or at the folder root.
File structure
The file follows a JSON format, with the following structure:version
: Indicates the version of the label format.files
: A list of objects, where each object represents a supported file format and its associated labels.path
: The file path.name
: The sample name (does not have to match the file name).category
: Indicates whether the image belongs to the training or testing set.label
(optional): Provides information about the labeled objects.type
: Specifies the type of label -unlabeled
,label
,multi-label
.label
(optional): The actual label or class name of the sample.labels
(optional): The labels in the multi-label format:label
: Label for the given period.startIndex
: Timestamp in milliseconds.endIndex
: Timestamp in milliseconds.
metadata
(Optional): Additional metadata associated with the image, such as the site where it was collected, the timestamp or any useful information.boundingBoxes
(Optional): A list of objects, where each object represents a bounding box for an object within the image.label
: The label or class name of the object within the bounding box.x
,y
: The coordinates of the top-left corner of the bounding box.width
,height
: The width and height of the bounding box.