TagLab
A CNN based image segmentation tool oriented to marine data analysis
Install / Use
/learn @cnr-isti-vclab/TagLabREADME
TagLab: an image segmentation tool oriented to marine data analysis
| Software Requirements | Install | Update | Citation |
TagLab was developed to assist with the annotation and extraction of statistical data from ortho-maps of benthic communities. The tool features various AI segmentation networks specifically trained for agnostic recognition (focused solely on contours) and semantic recognition (which also considers species) of corals. TagLab is an ongoing project of the Visual Computing Lab.

Interaction
TagLab allows users to interactively segment regions using the following methods:
DEXTR: Four-Clicks Tool: This tool involves indicating the extremes of regions with four clicks. It utilizes theDeep Extreme Cutmodel, which has been fine-tuned for complex structures.RITM: Positive-Negative Clicks Tool: This tool enables users to define the interior and exterior of a region through positive and negative clicks. It utilizes theReviving Iterative Training with Mask Guidancemodel, which has been train to work across various domains.SAM: Positive-Negative Clicks Tool: This tool allows for indicating the interior and exterior of a region within a sub-window using positive and negative clicks. It utilizes theSegment Anythingmodel, which has been trained to work across various domains.SAM: All Regions in an Area Tool: This tool allows users to segment all regions inside a sub-window by automatically placing region seeds. It utilizes theSegment Anythingmodel, which has been trained to work across various domains.CoralNet-Toolbox: This tool enables users to make predictions on points in TagLab, using a CoralNet model. It utilizes theCoralNet-Toolbox, which is an official codebase used to augment processes related toCoralNetandCPCe.
Fully Automated Segmentation
TagLab enables users to automatically segment regions by using a custom segmentation model, which are trained using the
DeepLab V3+ backbone. Using a custom model in TagLab is
accomplished through the following steps:
- Creating and managing a training dataset
- Training a model using the
Train Your Networkinterface - Making predictions with the
Fully Automated Semantic Segmentationtool
TagLab has many resources for image data management and analysis, including the ability to track changes among time points. For additional information, please visit the official TagLab website and documentation page.
Software Requirements
TagLab runs on Linux, Windows, and MacOS. To run TagLab, the main requirement is just 64bit Python 3.11.x.
GPU accelerated computations are not supported on MacOS and on any machine that does not have an NVIDIA graphics card with CUDA enabled.
Installing TagLab
See the instructions on the wiki.
Updating TagLab
If you already installed TagLab and you need to update to a new version, you can just run the update.py script from
the terminal (be sure to be into the TagLab main folder, see step 2):
python3 update.py
or, on Windows:
python.exe update.py
The script will automatically update TagLab to the newest version available in this repository.
NOTE: If some package is missing, after an update, re-launch install.py.
Updating from 0.2
If you are updating TagLab from 0.2 version, in order to download also the new networks, please run the update.py
script twice:
python3 update.py
python3 update.py
Citation
If you use TagLab, please cite it.
@article{TagLab,
author = {Pavoni, Gaia and Corsini, Massimiliano and Ponchio, Federico and Muntoni, Alessandro and Edwards, Clinton and Pedersen, Nicole and Sandin, Stuart and Cignoni, Paolo},
title = {TagLab: AI-assisted annotation for the fast and accurate semantic segmentation of coral reef orthoimages},
year = {2022},
journal = {Journal of Field Robotics},
volume = {39},
number = {3},
pages = {246 – 262},
doi = {10.1002/rob.22049}
}
Related Skills
tmux
348.2kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
claude-opus-4-5-migration
108.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
348.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
diffs
348.2kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
