Skip to content

Repository files navigation

Image Annotation

Simple Image Annotator Using SAM2

Prerequisites

  • Node.js >= 20
  • Python >= 3.10

Installation

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.txt

Running Locally

npm run dev

Deployment

npm run build
waitress-serve --host 127.0.0.1 --port 5000 main:app

Other Models

Download 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.

About

Simple Image Annotator Using SAM2

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages