waspinator / pycococreator

Helper functions to create COCO datasets
Apache License 2.0
765 stars 179 forks source link

Add function to create multiple annotations from the same image. Closes #29 #30

Open timofurrer opened 4 years ago

timofurrer commented 4 years ago

The functionality is implemented in a new function create_annotation_infos with a similar API as the already existing create_annotation_info.

I think it makes sense to have a dedicated function for this use-case.

An example is at samples/multi-annotations.