GUI for tkinter interactive segmentation app.
curl -LsSf https://astral.sh/uv/install.sh | sh
# restart your shellgit clone https://github.com/tldr-group/interactive-seg-guiuv sync --extra cpu
# or for GPU deps
uv sync --extra gpuIf you want to use deep features, you'll need to download the checkpoints:
chmod +x repo/download_chkpoints.sh
./repo/download_chkpoints.shMake sure your .env file correctly points to where the models are stored.
- Add data via
Data>Add Image. Features will be computed on upload. - Draw labels onto the image to give examples of each class. Use the number keys (1, 2, 3, ...) to change class.
- Press
Trainto train a classifier on the labels and apply it to the image.
- You can edit the
isb_cfg.jsonfile (i.e to change features, post-processing values, ...) whilst the app is running. PressSettings>Reload Configfor those changes to be updated on the app. If you want to change the feature stacks after changing the config, pressSettings>Re-featurise. - Hold the
Ctrlkey and move the mouse to pan the image - New labels don't overwrite previous labels, you can use this to create good interfacial labels.
- Labels can be saved to disk and loaded again later (
Save>Save Labels). - Comment / uncomment the MODEL_ environment variables in the
.envto try different deep feature checkpoints.
