ChaoningZhang / MobileSAM

This is the official code for MobileSAM project that makes SAM lightweight for mobile applications and beyond!
Apache License 2.0
4.76k stars 491 forks source link

would you like to provide vit weights and C++ interface? #3

Open julinfn opened 1 year ago

julinfn commented 1 year ago

wonderful work! I'm interested in interactive segmentation,C++ interface on the way?

ChaoningZhang commented 1 year ago

wonderful work! I'm interested in interactive segmentation,C++ interface on the way?

The pre-trained weights are already provided, please kindly give it a check. We would like to help if you have difficulty in suing it. In terms of C++ interface, we will try our best to provide but we cannot when it can come out. However, if you are willing to help, we would appreciate and include it in our current project.

dinglufe commented 1 year ago

I added support for MobileSAM in this wrapper https://github.com/dinglufe/segment-anything-cpp-wrapper

ryouchinsa commented 1 year ago

Here is the Segment Anything CPP Wrapper for macOS. This code is originated from Segment Anything CPP Wrapper and implemented on macOS app RectLabel. We customized the original code so that getMask() uses the previous mask result called as low_res_logits and retain the previous mask array for undo/redo actions.

We hope this macOS version would help to develop the iOS version. Please let us know your opinion.

sam_polygon

ryouchinsa commented 12 months 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