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

Use the sam model for labeling. In the generated file, the bbox is displayed as empty. #51

Open
kkiskkk opened this issue Jul 13, 2023 · 7 comments

Comments

@kkiskkk
Copy link

kkiskkk commented Jul 13, 2023

How to save the bbox?

@0ssamaak0
Copy link
Owner

0ssamaak0 commented Jul 14, 2023

The generated file is only to be used by DLTA-AI to load the annotations if u open the image again, you have to export your annotations to get the bbox

@0ssamaak0 0ssamaak0 reopened this Jul 14, 2023
@kkiskkk
Copy link
Author

kkiskkk commented Jul 19, 2023

In the saved label file, the bbox is empty.

@kkiskkk
Copy link
Author

kkiskkk commented Jul 19, 2023

image

@kkiskkk
Copy link
Author

kkiskkk commented Jul 19, 2023

Maybe I didn't describe it clearly. After using the sam model, the box will be displayed, but the bbox information is not included in the exported lable file.

@0ssamaak0
Copy link
Owner

actually, this is not the exported label file.
This is the saved label file used by DLTA-AI to load the annotations if you open the image or the video after annotating it.

to get the correct annotations, you have to Export using the button on the left toolbar and choose COCO format
image

@kkiskkk
Copy link
Author

kkiskkk commented Jul 20, 2023

Thanks for your patient reply! I have successfully exported annotation files in COCO format.
image
It is best to save the marked json file and the image file in the same path, otherwise the export will still fail (reopening can solve it).

@0ssamaak0
Copy link
Owner

Nice 😀 hope u find it useful

Thanks for your note regarding save path, we will fix this in the next version.

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

No branches or pull requests

2 participants