Label Export Result Format

Example File and Structure of each Label Export Formats
When you export labels, a compressed zip file will be created for you to download. This page explains the details of how the export result file created from a single export job is structured and formatted.

Below are file structures and examples of each format:

  1. Superb AI(Default) : This format produces JSON files. It supports all annotation types and includes the files below when downloaded.

    folder structure
    
    ├── labels/
    │   ├── {label-id}.json
    │   └── ...
    │
    └── meta/
    │   ├── {dataset-name}/{data-key}.json
    │   └── ...
    │
    └── project.json
    • Labels (folder) : This folder contains JSON files, each of which has a filename that corresponds to the unique key value (label id) of an individual label.
    • meta (folder) : This folder contains JSON files with metadata of each label.
    • project.json : This is a JSON file that contains the overall information of a project.
  2. COCO Style : This format produces JSON files. It supports all annotation types and includes the files below when downloaded.

    The original COCO data format offers separate JSON files for each purpose, such as Detection, Captioning, Keypoints, DensePose, Stuff, Panoptic, etc.

    folder structure
    
    ├── segmentation.json
    └── keypoint.json
    • segmentation.json : This file contains detailed segmentation information of annotations for Object Detection training, including the specific coordinates.
    • keypoint.json : This file contains detailed keypoint information of annotations for Keypoint Detection or Pose Estimation training, including the specific coordinates for machine learning tasks that use keypoints.
  3. YOLO Style : This format produces TXT files. It supports bounding boxes and polygons (converted into bounding boxes) and includes below files when downloaded.

    YOLO is the name of an object detection model, and it takes inputs in a single data format called the YOLO format. It provides less information than COCO, and supports bounding box only.

    folder structure
    ├── {project-name}/{dataset}/
    │   ├── {data-key}.txt 
    │   └── ...
    │
    └── classes.txt
    • dataset folder : Folders are created based on labels’ datasets, so the number of folders equals the number of datasets that the labels belong to. The folders contain annotation TXT files of individual labels.
    • classes.txt : Folders are created based on labels’ datasets, so the number of folders equals the number of datasets that the labels belong to. The folders contain annotation TXT files of individual labels.

1. Default Format

An example of a file according to the Export Format provided by default in Suite is as follows.

  • Superb AI(Default)
    • Labels (JSON file of each label)

      {
          "objects": [
              {
                  "id": "f19a7560-d7e8-45c5-838e-edb668fcaab5",
                  "class_id": "4e68d533-35f3-4ec0-9e90-bebf67b0227b",
                  "tracking_id": 1,
                  "class_name": "cereal",
                  "annotation_type": "polygon",
                  "annotation": {
                      "multiple": true,
                      "coord": {
                          "points": [
                              [
                                  [
                                      {
                                          "x": 507.0283687943259,
                                          "y": 417.2146323254947
                                      },
                                      {
                                          "x": 509.68047779021987,
                                          "y": 865.8129899216124
                                      },
                                      {
                                          "x": 927.3157894736839,
                                          "y": 854.0287420679356
                                      },
                                      {
                                          "x": 911.2724897349754,
                                          "y": 414.6147816349385
                                      },
                                      {
                                          "x": 507.0283687943259,
                                          "y": 417.2146323254947
                                      }
                                  ]
                              ]
                          ]
                      },
                      "meta": {
                          "z_index": 1,
                          "visible": true,
                          "alpha": 1,
                          "color": "#FF625A"
                      }
                  },
                  "properties": []
              }
          ],
          "categories": {
              "properties": []
          }
      }
    • meta (JSON file of metadata of each label)

      {
          "data_key": "apples.jpg",
          "dataset": "0104-test",
          "image_info": {
              "width": 6016,
              "height": 4016
          },
          "label_id": "3498d02e-828f-4eea-ad1d-118e2b54fc9b",
          "label_path": [
              "labels/3498d02e-828f-4eea-ad1d-118e2b54fc9b.json"
          ],
          "last_updated_date": "2023-01-18T09:44:08.233166Z",
          "tags": [],
          "work_assignee": "[email protected]",
          "status": "SUBMITTED"
      }
    • project.json (JSON file of the overall project information)

      {
          "type": "image-siesta",
          "version": "0.6.4",
          "data_type": "image",
          "categorization": {
              "properties": []
          },
          "object_detection": {
              "keypoints": [],
              "object_groups": [],
              "object_classes": [
                  {
                      "id": "4b078eba-c10b-45fc-b38f-c497e38d0c76",
                      "name": "donut",
                      "color": "#72BBFF",
                      "properties": [],
                      "constraints": {},
                      "ai_class_map": [],
                      "annotation_type": "polygon"
                  },
                  {
                      "id": "80244296-265c-42dd-82f4-57a2f0c16542",
                      "name": "apple",
                      "color": "#AF48FF",
                      "properties": [],
                      "constraints": {},
                      "ai_class_map": [],
                      "annotation_type": "polygon"
                  },
                  {
                      "id": "4e68d533-35f3-4ec0-9e90-bebf67b0227b",
                      "name": "cereal",
                      "color": "#FF625A",
                      "properties": [],
                      "constraints": {},
                      "ai_class_map": [],
                      "annotation_type": "polygon"
                  },
                  {
                      "id": "75b9ea60-6c51-440e-9682-7bd9b884c184",
                      "name": "taxi",
                      "color": "#FFF73E",
                      "properties": [],
                      "constraints": {},
                      "ai_class_map": [],
                      "annotation_type": "polygon"
                  }
              ],
              "annotation_types": [
                  "polygon"
              ]
          }
      }

2. COCO Format

In Suite, labels for Detection and Keypoint tasks can be exported in the COCO style. The COCO style offered by Suite includes all data provided by the original COCO format, as well as some additional fields that may be useful for data labeling. Additional fields include: image_properties (for image categorization), rotated_box, polyline, 2d_cuboid, and object_properties.

1. segmentation.json

  • Composition of an annotation:
{
    "info": {...},
    "licenses": [...],
    "images": [...],
    "annotations": [...],
    "categories": [...], <-- Not in Captions annotations
    "segment_info": [...] <-- Only in Panoptic annotations
}

Segmentation of the Original COCO format and other fields are displayed in the form of field as shown below.

annotationSuite COCO format
  • *info** : Includes the overall
    information of this annotation.
  • description: Includes details of the annotation file.
  • contributor: Includes details of the people or groups who participated in creating the data/label.
  • url: Includes the URL of the data/label provider.
  • data_created: Includes the date when the data was created. The time of export will be recorded in the ISO date/time format.
  • version, year removed : This field is removed because it is neither necessary nor regularly updated. Also, it is not a variable that can be included in exports.
  • *licenses** : Includes information
    relevant to the intellectual property rights
id, url, name -> Removed as it is unnecessary.
  • *categories** : Includes class
    information of objects in the annotation.
  • id: Category id in the form of integer. Increases sequentially from 1.
  • name: Category name.
  • supercategory: Supercategory name.
    • image*properties** :
      Includes categorization
      information of the image (
      Categorization from Suite)
      _This is an *additional** field in Suite.
  • id: Image property id in the form of integer. Increases sequentially from 1.
  • image_id: Id of the categorized image.
  • name: Category name.
  • type: Property type. Either checkbox, radio, or free response.
  • value: Actual values of the property.
    • If checkbox → list of string
    • If radio → string
    • If free response → string
  • *images** : Includes the
    information of the raw data (image).
  • id: Image id in the form of integer. Increases sequentially from 1.
  • file_name: Image file name.
  • height: Pixel height of the image.
  • width: Pixel width of the image.
  • dataset: A newly added field. Shows the name of the dataset that the image belongs to.
  • license: The License field is removed, so this field will have NULL as a value.
  • coco_url, data_captured, flickr_url: 3 fields have been removed.
  • *annotations : Includes detailed label information.
    rbox, polyline,
    cuboid2d,
    object_propertiesare fields provided as
    additional** in Suite.
  • id: Annotation id in the form of integer. Increases sequentially from 1.
  • image_id: Image id of the annotation.
  • category_id: Object class id of the annotation.
  • segmentation: Decided to support V2 as COCO V2 RLE has the highest compression ratio for segmentation.
    • Offers a mask compressed via RLE (run length encoding).
  • bbox: Includes coordinates of the bounding box that encompasses the segmentation above. If Suite’s annotation is not a segmentation but a bbox, only the bbox will have a value while the segmentation will be NULL.
    EX)\

    "bbox":[
    83.32, //The x-coordinate (horizontal position) of the top-left corner of the bounding box. 
    111.57, //The y-coordinate (vertical position) of the top-left corner of the bounding box.
    80.65, // The width of the bounding box. 
    84.07  //The height of the bounding box.
    ]
    
  • rbox: Rotation value = rotation value on Suite.
    EX)\

     "rbox":[
    55.66, //The x-coordinate of the center of the rotated bounding box.
    84.02, //The y-coordinate of the center of the rotated bounding box.
    27.83, //The width of the rotated bounding box.
    22.43, //The height of the rotated bounding box.
    24.28 //The angle of rotation for the bounding box, typically measured in degrees.  
    ]
  • polyline: 2-dimensional list to support multi-polyline
  • cuboid2d: Same structure as Suite.
  • object_properties: Includes property information of objects in the annotation.
    • name: Object property name.
    • type: Type of property. Either checkbox, radio or free response.
    • value: Actual values of the property.
      • If checkbox → list of string
      • If radio → string
      • If free response → string
  • area: Size of the segmentation area.
    • In this field, if there is a segmentation area, the size of the segmentation area is inserted, and if there is only a bbox, the size of the bbox is inserted. In other cases, it is ignored as not existing.
  • iscrowd: The value is 0 as Suite doesn’t support this.
segment_infoValid information for Panoptic only
  • segmentation.json - example file
{
   "info":{
      "description":"Exported from Superb AI Suite",
      "contributor":"Superb AI",
      "url":"https://www.superb-ai.com/",
      "date_created":"2023-01-13T05:09:58.237939"
   },
   "licenses":[
      
   ],
   "categories":[
      {
         "id":1,
         "name":"box",
         "supercategory":null
      },
      {
         "id":2,
         "name":"rbox",
         "supercategory":null
      },
      {
         "id":3,
         "name":"poly",
         "supercategory":null
      },
      {
         "id":4,
         "name":"poly_seg",
         "supercategory":null
      },
      {
         "id":5,
         "name":"2d_cuboid",
         "supercategory":null
      },
      {
         "id":6,
         "name":"\ubc15\uc2a4",
         "supercategory":null
      }
   ],
   "image_properties":[
      {
         "id":1,
         "image_id":0,
         "name":"ms_cate",
         "type":"checkbox",
         "value":[
            
         ]
      },
      {
         "id":2,
         "image_id":0,
         "name":"fr_cate",
         "type":"free response",
         "value":""
      },
      {
         "id":3,
         "image_id":1,
         "name":"fr_cate",
         "type":"free response",
         "value":";;lkjlkjlkjlkj"
      },
      {
         "id":4,
         "image_id":2,
         "name":"ms_cate",
         "type":"checkbox",
         "value":[
            "ms_1"
         ]
      },
      {
         "id":5,
         "image_id":2,
         "name":"fr_cate",
         "type":"free response",
         "value":"dasd"
      },
      {
         "id":6,
         "image_id":3,
         "name":"ms_cate",
         "type":"checkbox",
         "value":[
            "ms_1"
         ]
      },
      {
         "id":7,
         "image_id":3,
         "name":"fr_cate",
         "type":"free response",
         "value":""
      }
   ],
   "images":[
      {
         "id":0,
         "license":null,
         "dataset":"jk_test_dataset",
         "file_name":"219-200x300.jpg",
         "height":300,
         "width":200,
         "date_captured":null
      },
      {
         "id":1,
         "license":null,
         "dataset":"jk_test_dataset",
         "file_name":"650-200x300.jpg",
         "height":300,
         "width":200,
         "date_captured":null
      },
      {
         "id":2,
         "license":null,
         "dataset":"jk_test_dataset",
         "file_name":"50-200x300.jpg",
         "height":300,
         "width":200,
         "date_captured":null
      },
      {
         "id":3,
         "license":null,
         "dataset":"jk_test_dataset",
         "file_name":"242-200x300.jpg",
         "height":300,
         "width":200,
         "date_captured":null
      }
   ],
   "annotations":[
      {
         "id":1,
         "image_id":0,
         "iscrowd":0,
         "category_id":1,
         "bbox":[
            83.32, //The x-coordinate (horizontal position) of the top-left corner of the bounding box.
            111.57,//The y-coordinate (vertical position) of the top-left corner of the bounding box.
            80.65, //The width of the bounding box.
            84.07 //The height of the bounding box.
         ],
         "area":6781.41,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"box Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"box Property (2)",
               "type":"free response",
               "value":"\u3141\u3134\u3147\u3139"
            },
            {
               "name":"box Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":2,
         "image_id":1,
         "iscrowd":0,
         "category_id":1,
         "bbox":[
            26.33,
            24.18,
            36.22,
            25.27
         ],
         "area":915.54,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"box Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"box Property (2)",
               "type":"free response",
               "value":"\u3134\u3141\u3147\u3139\u3134\u3139"
            },
            {
               "name":"box Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":3,
         "image_id":1,
         "iscrowd":0,
         "category_id":1,
         "bbox":[
            95.23,
            29.45,
            41.04,
            22.77
         ],
         "area":934.61,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"box Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"box Property (2)",
               "type":"free response",
               "value":"\u3134\u3147\u3139\u3141"
            },
            {
               "name":"box Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":4,
         "image_id":1,
         "iscrowd":0,
         "category_id":2,
         "bbox":null,
         "area":null,
         "segmentation":null,
         "rbox":[
            55.66, //The x-coordinate of the center of the rotated bounding box.
            84.02, //The y-coordinate of the center of the rotated bounding box.
            27.83, //The width of the rotated bounding box.
            22.43, //The height of the rotated bounding box.
            24.28 //The angle of rotation for the bounding box, typically measured in degrees.
         ],
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"rbox Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"rbox Property (2)",
               "type":"free response",
               "value":"\ubc15\uc900\uaddc"
            },
            {
               "name":"rbox Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":5,
         "image_id":1,
         "iscrowd":0,
         "category_id":2,
         "bbox":null,
         "area":null,
         "segmentation":null,
         "rbox":[
            103.66,
            80.11,
            26.08,
            18.32,
            79.50
         ],
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"rbox Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"rbox Property (2)",
               "type":"free response",
               "value":"asdasd"
            },
            {
               "name":"rbox Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":6,
         "image_id":1,
         "iscrowd":0,
         "category_id":3,
         "bbox":null,
         "area":null,
         "segmentation":null,
         "rbox":null,
         "polyline":[
            [
               20.558478447602653,
               144.78210897235672,
               40.8645117523036,
               117.29255329533031,
               40.97066316570357,
               145.8216607449633,
               51.84203205528655,
               122.22127323129781,
               54.04741917851004,
               147.00396786662503,
               66.28594506481335,
               119.90058371076057,
               70.15315086678117,
               150.43741703107918,
               82.02197700296733,
               118.93057941589879
            ]
         ],
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"poly Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"poly Property (2)",
               "type":"free response",
               "value":"\u3141\u3134\u3147\u3139\u3141\u3134\u3139"
            },
            {
               "name":"poly Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":7,
         "image_id":1,
         "iscrowd":0,
         "category_id":4,
         "bbox":[
            20.00,
            159.00,
            78.00,
            36.00
         ],
         "area":1406.00,
         "segmentation":{
            "size":[
               300,
               200
            ],
            "counts":"_Q61X93H7I8K5N2O1N2N2O11O0_OdG2\\8LfG4Z8JiG5W8JjG6V8JhG7Z8=00000000001@bG0^8NfG0[8MgG3Y8NgG1Z8NeG3[8NbG4_8K_G7a883M2M4M2N]j3EnUL4L3M4L3M4L3M4M2N00100O001O11N1000001N10000N3M3M2N3L4M3M2N3MPgm0"
         },
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            {
               "name":"poly_seg Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option (1)",
                  "Untitled Option"
               ]
            },
            {
               "name":"poly_seg Property (2)",
               "type":"free response",
               "value":"\u3141\u3134\u3147\u3139\u3134"
            },
            {
               "name":"poly_seg Property",
               "type":"radio",
               "value":"Untitled Option (1)"
            }
         ]
      },
      {
         "id":8,
         "image_id":1,
         "iscrowd":0,
         "category_id":5,
         "bbox":null,
         "area":null,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":{
            "near":[
               15.15,
               225.76,
               44.94,
               37.59
            ],
            "far":[
               83.15,
               239.28,
               5.39,
               16.50
            ]
         },
         "object_properties":[
            {
               "name":"2d_cuboid Property (1)",
               "type":"checkbox",
               "value":[
                  "Untitled Option",
                  "Untitled Option (1)"
               ]
            },
            {
               "name":"2d_cuboid Property (2)",
               "type":"free response",
               "value":"\u3134\u3147\u3139\u3134\u3147\u3139"
            },
            {
               "name":"2d_cuboid Property",
               "type":"radio",
               "value":"Untitled Option"
            }
         ]
      },
      {
         "id":9,
         "image_id":1,
         "iscrowd":0,
         "category_id":6,
         "bbox":[
            118.55,
            234.90,
            26.53,
            24.72
         ],
         "area":656.11,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            
         ]
      },
      {
         "id":10,
         "image_id":2,
         "iscrowd":0,
         "category_id":6,
         "bbox":[
            77.13,
            79.63,
            83.57,
            76.79
         ],
         "area":6418.40,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            
         ]
      },
      {
         "id":11,
         "image_id":3,
         "iscrowd":0,
         "category_id":6,
         "bbox":[
            32.33,
            76.53,
            43.52,
            56.01
         ],
         "area":2437.80,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            
         ]
      },
      {
         "id":12,
         "image_id":3,
         "iscrowd":0,
         "category_id":6,
         "bbox":[
            72.08,
            142.09,
            43.52,
            56.01
         ],
         "area":2437.80,
         "segmentation":null,
         "rbox":null,
         "polyline":null,
         "cuboid2d":null,
         "object_properties":[
            
         ]
      }
   ]
}

2. keypoints.json

  • Composition of an annotation
{
    "info": {...},
    "licenses": [...],
    "images": [...],
    "annotations": [...],
    "categories": [...],
}
annotationSuite COCO format
  • *info** : Includes the overall
    information of this annotation.
  • description: Includes details of the annotation file.
  • contributor: Includes details of the people or groups who participated in creating the data/label.
  • url: Includes the URL of the data/label provider.
  • data_created: Includes the date when the data was created.
  • version, year removed : This field is removed because it is neither necessary nor regularly updated. Also, it is not a variable that can be included in exports.
  • *licenses** : Includes information
    relevant to the intellectual property rights.
id, url, name -> Removed as it is unnecessary.
  • *licenses** : Includes
    information relevant
    to the intellectual property rights.
  • id: - Category id in the form of integer. Increases sequentially from 1.
  • name: Category name.
  • supercategory: Supercategory name.
  • keypoints: Includes the name of each node of the keypoints in the form of list.
  • skeleton: Includes details of the edges of the keypoints.
    • image*properties** : Includes categorization information of the image (Categorization from Suite)
      _This is an *additional** field in Suite.
  • id: Image property id in the form of integer. Increases sequentially from 1.
  • image_id: Image property id in the form of integer. Increases sequentially from 1.
  • name: Category name.
  • type: Property type. Either checkbox, radio, or free response.
  • value: - Actual values of the property.
    • If checkbox → list of string
    • If radio → string
    • If free response → string
  • *images** : Includes the information
    of the raw data (image).
  • id: Image id in the form of integer. Increases sequentially from 1.
  • file_name: Image file name.
  • coco_url: Includes the URL to download the image.
  • height: Pixel height of the image.
  • width: Pixel width of the image.
  • data_captured: Date of capturing the image data.
  • license: Id of the license that the image belongs to.
  • flickr_url: Static URL uploaded on flickr.
  • *annotations : Includes detailed
    label information.num_keypoints,
    keypointsFields provided
    as an
    additional** in Suite.
  • id: Annotation id in the form of integer. Increases sequentially from 1.
  • image_id: Image id of the annotation.
  • category_id: Object class id of the annotation.
  • num_keypoints: Number of keypoint nodes.
  • keypoints: Keypoint nodes in the skeleton order..
    • [ x1, y1, v1, x2, y2, v2, … , xn, yn, vn ] ← v is for node visibility.
    • v: 0 ← unlabeled node, 1 ← labeled but occluded node, 2 ← labeled and visible node.
  • segmentation: Keypoint also provides segmentation information of individual objects.
    • V1: Offers a 2-dimensional list whose x and y coordinates are arrayed in the form of integer.
    • V2: Offers a mask compressed via RLE (run length encoding).
  • bbox: Suite provides keypoint coordinates, so a bbox encompassing the keypoints is created for this field.
  • iscrowd: Includes overlaps with other segmentations in the form of boolean.
  • area: Size of the segmentation area.
    • Keypoints do not have segments, so this field will include the size of a bbox encompassing the keypoints.
  • iscrowd: The value is 0 as Suite doesn’t support this.
  • keypoints.json - example file
{
    "info":{
       "description":"Exported from Superb AI Suite",
       "contributor":"Superb AI",
       "url":"https://www.superb-ai.com/",
       "date_created":"2023-01-13T05:09:58.237953"
    },
    "licenses":[
       
    ],
    "categories":[
       {
          "id":1,
          "name":"face_kp",
          "supercategory":null,
          "keypoints":[
             "left eye center",
             "left eye inner corner",
             "left eye outer corner",
             "right eye center",
             "right eye inner corner",
             "right eye outer corner",
             "left eyebrow inner end",
             "left eyebrow outer end",
             "right eyebrow inner end",
             "right eyebrow outer end",
             "nose tip",
             "mouth left corner",
             "mouth right corner",
             "mouth center top lip",
             "mouth center bottom lip"
          ],
          "skeleton":[
             [
                1,
                0
             ],
             [
                2,
                0
             ],
             [
                4,
                3
             ],
             [
                5,
                3
             ],
             [
                7,
                6
             ],
             [
                9,
                8
             ],
             [
                13,
                11
             ],
             [
                14,
                11
             ],
             [
                13,
                12
             ],
             [
                14,
                12
             ]
          ]
       }
    ],
    "image_properties":[
       {
          "id":1,
          "image_id":0,
          "name":"ms_cate",
          "type":"checkbox",
          "value":[
             
          ]
       },
       {
          "id":2,
          "image_id":0,
          "name":"fr_cate",
          "type":"free response",
          "value":""
       },
       {
          "id":3,
          "image_id":1,
          "name":"fr_cate",
          "type":"free response",
          "value":";;lkjlkjlkjlkj"
       },
       {
          "id":4,
          "image_id":2,
          "name":"ms_cate",
          "type":"checkbox",
          "value":[
             "ms_1"
          ]
       },
       {
          "id":5,
          "image_id":2,
          "name":"fr_cate",
          "type":"free response",
          "value":"dasd"
       },
       {
          "id":6,
          "image_id":3,
          "name":"ms_cate",
          "type":"checkbox",
          "value":[
             "ms_1"
          ]
       },
       {
          "id":7,
          "image_id":3,
          "name":"fr_cate",
          "type":"free response",
          "value":""
       }
    ],
    "images":[
       {
          "id":0,
          "license":null,
          "dataset":"jk_test_dataset",
          "file_name":"219-200x300.jpg",
          "height":300,
          "width":200,
          "date_captured":null
       },
       {
          "id":1,
          "license":null,
          "dataset":"jk_test_dataset",
          "file_name":"650-200x300.jpg",
          "height":300,
          "width":200,
          "date_captured":null
       },
       {
          "id":2,
          "license":null,
          "dataset":"jk_test_dataset",
          "file_name":"50-200x300.jpg",
          "height":300,
          "width":200,
          "date_captured":null
       },
       {
          "id":3,
          "license":null,
          "dataset":"jk_test_dataset",
          "file_name":"242-200x300.jpg",
          "height":300,
          "width":200,
          "date_captured":null
       }
    ],
    "annotations":[
       {
          "id":1,
          "image_id":1,
          "iscrowd":0,
          "category_id":1,
          "bbox":[
             112.82,
             126.08,
             80.39,
             83.16
          ],
          "area":6686.37,
          "segmentation":[
             [
                
             ]
          ],
          "keypoints":[
             134.43,
             141.69,
             2.00,
             146.66,
             145.71,
             2.00,
             122.03,
             146.83,
             2.00,
             177.00,
             141.25,
             2.00,
             167.00,
             146.78,
             2.00,
             189.53,
             145.76,
             2.00,
             153.02,
             126.75,
             2.00,
             112.82,
             126.08,
             2.00,
             169.37,
             126.36,
             2.00,
             193.22,
             127.82,
             2.00,
             158.67,
             176.44,
             2.00,
             125.03,
             195.25,
             2.00,
             171.88,
             196.31,
             2.00,
             151.43,
             188.06,
             2.00,
             152.46,
             209.25,
             2.00
          ],
          "num_keypoints":15
       }
    ]
 }

3. YOLO Format

One thing to note about the YOLO format is that the labels of each image will be saved as a TXT file that has the same file name as the image. The entire information of classes will be saved in classes.txt, with each class being assigned with an ascending id from 1. And objects of each label are distinguished by \n , which means one row will represent one object. And each string is separated by white space.

Suite supports Object Detection with bbox and polygon, so only those types of annotations will be supported.

  • dataset folder
    • apples.txt (example)

      # class x_center, y_center, width, height ( <- this line is not visible when exported )
      1 0.3884 0.7764 0.2735 0.3935
  • classes.txt
    • classes.txt (example)

      donut
      apple
      cereal
      taxi

What’s Next

Any other questions? E-mail us at [email protected].

Did this page help you?