NaturalIntelligence / imglab

To speedup and simplify image labeling/ annotation process with multiple supported formats.
https://solothought.com/imglab/
MIT License
977 stars 596 forks source link

fix loading category for coco format #135

Closed alecGraves closed 5 years ago

alecGraves commented 5 years ago

Purpose / Goal

Allow categories to be loaded when importing coco format.

When loading a .json file, categories (dog, cat, etc.) were lost because they were not being saved into the shapes objects. This change fixes that. Also restores default label string 'unlabelled' when loading the json data.

There is no open issue for this bug.

Type

amitguptagwl commented 5 years ago

Thanks for your fix.

franciscorba commented 4 years ago

This fix broke the category selection that now only shows the loaded category.