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

Core ML support #16

Open ozgurshn opened 1 year ago

ozgurshn commented 1 year ago

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

cshan commented 1 year ago

Same requirement

dodatw commented 1 year ago

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

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