Skip to content

slz929/EdgeSAM-MNN

Repository files navigation

EdgeSAM-MNN

One MNN deployment of EdgeSAM
Prompt-In-the-Loop Distillation for On-Device Deployment of SAM
https://github.com/chongzhou96/EdgeSAM

python

Run:

cd mnn_python
python segment_anything_example.py

cpp

Prapare MNN OpenCV lib as in CMakeList.txt, make:

mkdir build; cd build
cmake ..
make

Run:

./sam_demo ../../edgeSAM_encoder.mnn ../../edgeSAM_decoder.mnn ../../resource/truck.jpg

result

prompt segmentation result

About

Quickly inference EdgeSAM with MNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published