ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
515 stars 73 forks source link

RectLabel implemented Segment Anything models to label polygons. #236

Closed ryouchinsa closed 1 year ago

ryouchinsa commented 1 year ago

Change the mode to "Create polygon using SAM". Select a Segment Anything model among "MobileSAM", "ViT-Large SAM", and "ViT-Huge SAM". After downloading the model, the preprocessing for the image begins. Because of CPU mode, it takes 2 seconds for "MobileSAM", 30 seconds for "ViT-Large SAM", and 60 seconds for "ViT-Huge SAM" on the Apple M1 device. Downloaded models are saved in the folder "~/Library/Containers/RectLabel/Data/models". Click to add foreground points. Click to add background points. Pressing the option key, you can switch the foreground mode and background mode. Press enter key to finish labeling. Press escape key to cancel labeling.

sam_polygon

ryouchinsa commented 1 year ago

Currently If you need our support to fix this problem, please let us know.

ryouchinsa commented 1 year ago

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