Skip to content

an annotation tool for segmentation models, with SAM3 integration and automatic propagation using image encoder models (DINOv3 and Pixio)

License

Notifications You must be signed in to change notification settings

talhabw/autoseg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoSeg

An annotation tool for image segmentation with SAM integration and automatic propagation.

Features

  • Manual bounding box annotation
  • SAM-powered automatic segmentation from bounding boxes
  • Encoder-based annotation propagation across sequential images
  • YOLO-seg format export
  • Review workflow for propagated annotations

Demo

demo.mp4

Installation

Prerequisites

  • Python: 3.12+
  • uv: recommended
  • CUDA: 12+
  • Node.js/Bun: For frontend

Quick Start

  1. Clone the repository:

    git clone --recurse-submodules https://github.com/talhabw/autoseg.git
    cd autoseg
  2. Install Python dependencies:

    uv sync

    Note: This creates a .venv with Python 3.12 and installs all required packages.

  3. Install Frontend:

    cd frontend
    bun install
  4. Download Models: Place your model weights in the models/ directory in the root. The application expects specific filenames:

Usage

Backend:

uv run uvicorn backend.main:app --host 0.0.0.0 --port 5172

Frontend:

cd frontend
bun run build
bun run preview --port 5173

Access at: http://localhost:5173

Testing

Run the test suite (you may need to install optional dependencies from pyproject.toml):

uv run pytest

Acknowledgements

This project builds upon the following excellent third-party projects and model releases:

  • SAM3: Segment Anything model used for SAM-powered mask generation.
  • DINOv3 / Pixio: Vision encoder used for feature extraction / propagation.

I am grateful to the authors and maintainers of these projects for releasing their work.

License

This project depends on third-party components with their own licenses:

Please review all licenses before use.

Your rights to use, redistribute, or deploy this project “end-to-end” may be constrained by the licenses of the third-party model code and/or weights you choose to use. Please review and comply with the applicable third-party licenses before use, especially for redistribution or commercial deployment.

Where this repository does not directly redistribute third-party weights, users are expected to obtain them separately and agree to the corresponding license terms from the original providers.

About

an annotation tool for segmentation models, with SAM3 integration and automatic propagation using image encoder models (DINOv3 and Pixio)

Resources

License

Stars

Watchers

Forks