a simple Server for segment anything implementation in annotorious selector pack: https://github.com/erikradisch/annotorious-selector-pack
- set up an virtual environment
- install requirements
- install sam2 (torch and toschvision are included in the requirements.txt)
modify host and port as needed. start the script. Set serverUrl as congig in annotorious.