MobileSAM icon indicating copy to clipboard operation
MobileSAM copied to clipboard

Core ML support

Open ozgurshn opened this issue 1 year ago • 4 comments

Hey guys, great work. I was wondering would you like to add support for Core ML to run the model on iOS.

ozgurshn avatar Jun 28 '23 12:06 ozgurshn

Same requirement

cshan avatar Jun 28 '23 14:06 cshan

Same request, looking forward to his performance on edge devices.

dodatw avatar Jun 29 '23 09:06 dodatw

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 avatar Sep 02 '23 11:09 ryouchinsa

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

ryouchinsa avatar Oct 23 '23 18:10 ryouchinsa