Script that converts VoTT json files to COCO format. Keeps images, bboxes, and masks.
dataset:
source:
path: '/home/bartosz/UAVVaste_vott/' ### main catalog
img_cat: images ### name of sub-catalogs with images
anno_cat: annotations ### name of sub-catalog with annotations jsons
destination:
path: '/home/bartosz/UAVVaste_coco/'
img_cat: images
anno_file: annotations.json
info:
year: 2020
version: v1
description: UAVVaste dataset
contributor: None
url: https://uavvaste.ithub.io/
python vott2coco.py -c conver_config.yml