Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showAnns should display bbox even if segmentation is not present #482

Open
jnothman opened this issue Feb 18, 2021 · 2 comments · May be fixed by #487
Open

showAnns should display bbox even if segmentation is not present #482

jnothman opened this issue Feb 18, 2021 · 2 comments · May be fixed by #487

Comments

@jnothman
Copy link

Many datasets have bounding boxes and no segmentation. It seems reasonable to support such datasets in a COCO-style format. The current logic in (Python) showAnns requires 'segmentation' to be present to display bounding boxes. Changing the following line to include or 'bbox' in anns[0] would enable showing datasets with bbox but not segmentation annotations;

if 'segmentation' in anns[0] or 'keypoints' in anns[0]:

@jnothman
Copy link
Author

Ping @geezacoleman

@baizebing baizebing linked a pull request Mar 2, 2021 that will close this issue
@bendominguez0111
Copy link

Any updated on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants