MobileSAM-Unity

Sample Unity App for MobileSAM with HoloLab DNN Packages

MIT License

Stars
12

MobileSAM using HoloLab DNN Packages

[!NOTE] ONNX files are managed using Git LFS. Please git clone with --recursive option.

git clone --recursive https://github.com/UnaNancyOwen/MobileSAM-Unity.git

About

This Unity project is sample app of MobileSAM using HoloLab DNN Packages that based on Unity Sentis. Please click on the image to show the segmentation area.

HoloLab DNN Packages implements segmentation class with general segmentation models. However, it doesn't support for Segment Anything Models. You can learn how to implement new inference classes for such models that have not been implemented in HoloLab DNN Packages.

MobileSAM

MobileSAM consists of two models of encoder and decoder. You can export encoder and decoder to ONNX files according to the following repositories.

Environment

These sample work on Unity 2023.2 (Unity 6) or later.

License

Copyright © 2024 Tsukasa Sugiura Distributed under the MIT License.

Contact

Reference