added instance_id read from coco json if no segmentation #729
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added an way to read instance_id from a coco json file only if there's no segmentation. I guess it can be extended to segmentation classes as well.
I tested it and it works, however the visualization of the IDs in the web interface depends on the browser somehow. It's no visible if I open a image to label in firefox under linux. Interestingly, if I use firefox under windows or chrome under linux then I can see the tracking IDs with the bounding boxes. Somehow firefox under linux is not loading them.
This image is taken from firefox under linux:
while this other is from chromium under linux: