Simple Image Annotator Using SAM2
- Node.js >= 20
- Python >= 3.10
git clone https://github.com/ItzShubhamDev/Image-Annotation.git
cd Image-Annotation
npm install
python -m venv env
source env/bin/activate ## Or Windows env\Scripts\activate
pip install -r requirements.txtnpm run devnpm run build
waitress-serve --host 127.0.0.1 --port 5000 main:appDownload any models from here to models/
And update main.py -> variant and modelPath according to model name, you can also change device to gpu if you have a dedicated GPU.