Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 504 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 504 Bytes

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