vgg2json
- tomni.transformers.vgg2json(vgg_data: dict) List[dict] [source]
Transforms data created with ‘VGG Image Annotator’ into a list of JSON objects.
- Parameters
vgg_data (dict) – A JSON dictionary created with VGG Image Annotator, which can contain annotations for multiple images.
- Returns
A list of lists of JSON dictionaries, where each inner list represents annotations for a single image, and each JSON dictionary contains annotation data.
- Return type
List[List[dict]]