Sample Unity App for MobileSAM with HoloLab DNN Packages
MIT License
[!NOTE] ONNX files are managed using Git LFS. Please git clone with
--recursive
option.git clone --recursive https://github.com/UnaNancyOwen/MobileSAM-Unity.git
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 consists of two models of encoder and decoder. You can export encoder and decoder to ONNX files according to the following repositories.
These sample work on Unity 2023.2 (Unity 6) or later.
Copyright © 2024 Tsukasa Sugiura Distributed under the MIT License.