ChaoningZhang / MobileSAM

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

Can I use this in flutter app? #84

Open creativekdev opened 1 year ago

creativekdev commented 1 year ago

I am developing flutter plugin that can use this model with ONNX. I am stuck converting mobile_sam package of python to Kotlin and Swift Side. How can I use the mobile_sam package on Native mobile code side? image

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