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

Importing annotations to anylabeling #83

Closed
thangngoc89 opened this issue May 15, 2023 · 5 comments
Closed

Importing annotations to anylabeling #83

thangngoc89 opened this issue May 15, 2023 · 5 comments

Comments

@thangngoc89
Copy link

thangngoc89 commented May 15, 2023

Hello from a fellow Vietnamese @vietanhdev,

Thank you for releasing this amazing product as open source. I currently have a lot of auto-generated masks that need to be checked and corrected if necessary. These masks are from SAM with a lot of post-processing.
The current format of these masks are binary masks.

I'm wondering if it's possible to import masks to anylabeling and edit?

TIA

@vietanhdev
Copy link
Owner

Hi @thangngoc89 !
AnyLabeling does not support mask labeling at the moment.

@hayleeXinyi
Copy link

You can output the intermediate results of sam as a json file, and when you have a json file with the same name and the same folder as the image, you can display the mask in anylabeling.
Good luck!

@thangngoc89
Copy link
Author

@vietanhdev @hayleeXinyi hey. Thank you both for your answers. I've checked the format of the json file of Anylabeling and it seems quite simple. However, converting from binary mask to polygon is a lossy process so it's a blocker for me.

Keep up the good work :)

@ryouchinsa
Copy link

Thanks for your great tool AnyLabeling.

RectLabel is an offline image annotation tool for object detection and segmentation.
Although this is not an open source program, you can drag & drop the COCO RLE JSON file of the SA-1B dataset to the labels table to import mask annotations.
You can drag & drop the mask images, too.

Segment Anything 1 Billion (SA-1B) is a dataset designed for training general-purpose object segmentation models from open world images.

dragDropRLEJSONFilesXML

@ryouchinsa
Copy link

Improved "Create polygon using SAM" feature so that you can label pixels using the pixels option. You can label Segment Anything 1 Billion (SA-1B) like dataset by yourself.

sam-pixels

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

4 participants