This project generates binary or multi-class segmentation masks from the COCO dataset using the official annotations.
- Converts COCO annotations to masks.
- Supports both binary and multi-class masks.
- Handles overlapping regions, missing annotations, and
iscrowdflags.
Install dependencies using uv (universal virtual environment):
curl -Ls https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt