๐ News
๐ฅ 2023/07/14: Add a "wider result" button in text mode (Thanks for gaoxinge).
๐ฅ 2023/06/29: Support the text mode (Thanks for gaoxinge).
๐ฅ 2023/06/26: Support the points mode. (Better and faster interaction will come soon!)
๐ฅ 2023/06/24: Add the 'Advanced options" in Everything mode to get a more detailed adjustment.

draw the edges of the masks
Try some of the examples below โฌ๏ธ
better quality using morphologyEx
draw high-resolution segmentation masks
This is a demo on Github project ๐ Fast Segment Anything Model. Welcome to give a star โญ๏ธ to it.
๐ฏ Upload an Image, segment it with Fast Segment Anything (Everything mode). The other modes will come soon.
โ๏ธ It takes about 6~ seconds to generate segment results. The concurrency_count of queue is 1, please wait for a moment when it is crowded.
๐ To get faster results, you can use a smaller input size and leave high_visual_quality unchecked.
๐ฃ You can also obtain the segmentation results of any Image through this Colab:
๐ A huge thanks goes out to the @HuggingFace Team for supporting us with GPU grant.
๐ Check out our Model Card ๐

Try some of the examples below โฌ๏ธ
๐ฏ Instructions for points mode
This is a demo on Github project ๐ Fast Segment Anything Model. Welcome to give a star โญ๏ธ to it.
Upload an image or choose an example.
Choose the point label ('Add mask' means a positive point. 'Remove' Area means a negative point that is not segmented).
Add points one by one on the image.
Click the 'Segment with points prompt' button to get the segmentation results.
5. If you get Error, click the 'Clear points' button and try again may help.

draw the edges of the masks
Try some of the examples below โฌ๏ธ
better quality using morphologyEx
draw high-resolution segmentation masks
wider result
This is a demo on Github project ๐ Fast Segment Anything Model. Welcome to give a star โญ๏ธ to it.
๐ฏ Upload an Image, segment it with Fast Segment Anything (Everything mode). The other modes will come soon.
โ๏ธ It takes about 6~ seconds to generate segment results. The concurrency_count of queue is 1, please wait for a moment when it is crowded.
๐ To get faster results, you can use a smaller input size and leave high_visual_quality unchecked.
๐ฃ You can also obtain the segmentation results of any Image through this Colab:
๐ A huge thanks goes out to the @HuggingFace Team for supporting us with GPU grant.
๐ Check out our Model Card ๐