facebookresearch / segment-anything

The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
47.39k stars 5.61k forks source link

[OpenCV version of web demo] Simple to use on local PC / Cut out masked objects #110

Open derekray311511 opened 1 year ago

derekray311511 commented 1 year ago

Thanks for releasing such an impressing work!
We love this work and we are keep finding the applications and potential of this model.

We also develop a tool using opencv that has similar function as the demo website. Feel free to try it from my repository here! :hugs:

cv2 version:
https://github.com/derekray311511/segment-anything/tree/application

web version:
https://github.com/derekray311511/SAM-webui

Main Features:

(image created by stable diffusion)

Ianpengg commented 1 year ago

follow

zdhernandez commented 1 year ago

@derekray311511 Please make a super simple hello world version of it so people can understand it and go from there. Thanks!

derekray311511 commented 1 year ago

@zdhernandez I just add "Run the model" part so that you can run the model with the script easily. 😃