| Software Requirements | Install | Update | Citation |
TagLab was created to support the activity of annotation and extraction of statistical data from ortho-maps of benthic communities. The tool includes different types of CNN-based segmentation networks specially trained for agnostic (relative only to contours) or semantic (also related to species) recognition of corals. TagLab is an ongoing project of the Visual Computing Lab.
This is a developmental fork from the original repository; changes are made here, like, really frequently... proceed with caution.
- 10/2023
- Install script for Windows using Anaconda; see Installation instructions below
- Segment Anything Model (SAM)
- 12/2023
- Width and Height of current view is shown in top-right (updates w/ zoom)
- Users can mark grid cells as complete from within SAM and pos/neg (RITM) tools
- Working area for SAM and pos/neg (RITM) tools will show you the dimensions of the working area
- 02/2024
iView
using Metashape API to view corresponding images of orthomosaic; requires Professional license- Fixed
Refine
tool bug - Point annotations (all credit goes to original TagLab authors)
- Point sampling select work area (shows pixel and metric space)
- Basic Import / Export of point annotations in CoralNet Format
- 03/2024
- Integrated
Upload
andAPI
tools fromCoralNet Toolbox
intoTagLab
to allow forCoralNet
models to make predictions on point annotations in orthomosaic.
- Integrated
We are working hard to create a website with detailed instructions about TagLab. Stay tuned(!)
TagLab runs on Linux, Windows, and MacOS. To run TagLab, the main requirement is just 64bit Python 3.8.x, 3.9.x or 3.10.x.
GPU accelerated computations are not supported on MacOS and on any machine that has not an NVIDIA graphics card. To use them, you'll need to install the NVIDIA CUDA Toolkit, versions 10.2, 11.3, 11.6 and 11.7 are supported. If you don't have a NVida graphics card (or if you use MacOS), CPU will be used.
To install TagLab on Windows using Anaconda, follow the
instructions below. If CUDA is not installed on your computer, include cpu
when running the install script:
# Anaconda Command Prompt
# Create a conda environment for TagLab
conda create --name taglab python=3.8 -y
# Activate the environment
conda activate taglab
# Within the TagLab folder, run the install_conda_windows.py script
python install_conda_windows.py [cpu]
# Run TagLab
python Taglab.py
For further instructions on installing TagLab see below.
- Download Anaconda:
- Go to the Anaconda website.
- Download the appropriate version for your Windows system (e.g., 64-bit or 32-bit).
- Follow the installation instructions provided on the website.
- Search for Anaconda Command Prompt:
- Press the
Windows
key on your keyboard. - Type "Anaconda Command Prompt" and press
Enter
.
- Press the
- Create a new conda environment:
- In the Anaconda Command Prompt, type the following command and press
Enter
:conda create --name taglab python=3.8 -y
- This command creates a new conda environment named "taglab" with Python version 3.8.
- In the Anaconda Command Prompt, type the following command and press
- Activate the conda environment:
- Type the following command and press
Enter
:conda activate taglab
- Your command prompt should now show that you are in the "taglab" environment.
- Type the following command and press
-
Navigate to the TagLab folder:
- Download this TagLab fork .
- Extract the contents of the downloaded zip file to a location on your computer.
- Open the Anaconda Command Prompt and navigate to the folder where TagLab is extracted, using the
cd
command. For example:cd path\to\Taglab
-
Run the installation script:
- Type the following command and press
Enter
:python install_conda_windows.py [cpu]
- Replace
[cpu]
with nothing if CUDA is installed on your computer, or includecpu
if CUDA is not installed. - This script installs the necessary dependencies for TagLab.
- Replace
- Type the following command and press
- Run TagLab:
- After the installation is complete, you can run TagLab using the following command:
python Taglab.py
- This command starts TagLab, and you should now be able to use the tool within the activated conda environment.
- After the installation is complete, you can run TagLab using the following command:
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}
}