Skip to main content

Tools for annotating and developing ML models for benthic imagery

Project description

CoralNet-Toolbox 🪸🧰

CoralNet-Toolbox

AI-Powered Annotation for Coral Reef Analysis. An unofficial toolkit to supercharge your CoralNet workflows.

Python Version Version GitHub last commit Downloads

PyPI Passing Windows macOS Ubuntu

Marine imaging technology is advancing rapidly, capturing more data than ever before. To keep pace, the instinct of the tech industry is often to build entirely new, fully automated pipelines that disrupt how scientists naturally work. However, this ignores the reality of ecological research: laboratories already rely on stringent standards, deeply established protocols, and decades of domain expertise. CoralNet-Toolbox recognizes that the goal shouldn't be to force a new way of working, but to respect and protect the processes that already yield rigorous scientific results.

⚡ Get Started

1. Create Conda Environment (Recommended)

# Create and activate custom environment
conda create --name coralnet10 python=3.10 -y
conda activate coralnet10

# Install uv
pip install uv

2. (Optional) GPU Acceleration If you have an NVIDIA GPU with CUDA, install PyTorch with CUDA support for full acceleration.

# Example for CUDA 12.8; use your version of CUDA
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128

3. Install

# Use UV for the fastest installation
uv pip install coralnet-toolbox

Fallback: If UV fails, use regular pip: pip install coralnet-toolbox

4. Launch

coralnet-toolbox

To remove a problematic package, type the following:

uv pip uninstall package-name-here

To delete an old environment and restart, type the following:

# Deactivate if already in the environment
conda deactivate coralnet10

# Delete by name
conda env remove --name coralnet10

# Confirm when prompted
y

See the Installation Guide for details on other versions.

🎯 GPU Status Indicators

  • 🐢 CPU only
  • 🐇 Single GPU
  • 🚀 Multiple GPUs
  • 🍎 Mac Metal (Apple Silicon)

Click the icon in the bottom-left to see available devices

🔄 Upgrading

# When updates are available
uv pip install -U coralnet-toolbox==[latest_version]

Note: If you have torch installed with CUDA, adding -U may trigger an regression to the CPU version. If this occurs, use pip to uninstall torch and torchvision, and re-install CUDA version.

MacOS Users

Version 1.0.0 and greater relies heavily on a package (PyQtADS) that cannot be installed on your operating system. Please do not upgrade from 0.0.105 until this is resolved.


📚 Resources & Advanced Details

📺 Watch the Demo Videos

Video Tutorial Series

🎬 Complete playlist covering all major features and workflows

From Bottleneck to Pipeline

Traditional benthic imagery analysis is time-consuming. Manual annotation, data management, and model training are often separate, complex tasks. CoralNet-Toolbox unifies this process, turning a research bottleneck into an integrated, AI-accelerated pipeline.

📝 Core Annotation Tools

Patch Annotation
🎯 Patch Annotation
Rectangle Annotation
📐 Rectangle Annotation
Polygon Annotation
🔷 Multi-Polygon Annotation

🤖 AI-Powered Analysis

Classification
🧠 Image Classification
Object Detection
🎯 Object Detection
Instance Segmentation
🎭 Instance Segmentation

🔬 Advanced Capabilities

SAM
🪸 Segment Anything (SAM)
Polygon Classification
🔍 Polygon Classification
Work Areas
📍 Region-based Detection

✂️ Editing & Processing Tools

Cut Tool
✂️ Cut
Combine Tool
🔗 Combine
Simplify Tool
🎨 Simplify

🌊 Success Stories

Using CoralNet-Toolbox in your research?

We'd love to feature your work! Share your success stories to help others learn and get inspired.


🏗️ Repository Structure


🌍 About CoralNet

Coral reefs are among Earth's most biodiverse ecosystems, supporting marine life and coastal communities worldwide. However, they face unprecedented threats from climate change, pollution, and human activities.

CoralNet is a revolutionary platform enabling researchers to:

  • Upload and analyze coral reef photographs
  • Create detailed species annotations
  • Build AI-powered classification models
  • Collaborate with the global research community

The CoralNet-Toolbox extends this mission by providing advanced AI tools that accelerate research and improve annotation quality.


📄 Citation

If you use CoralNet-Toolbox in your research, please cite:

@misc{CoralNet-Toolbox,
  author = {Pierce, Jordan and Battista, Tim and Kuester, Falko},
  title = {CoralNet-Toolbox: Tools for Annotating and Developing Machine Learning Models for Benthic Imagery},
  year = {2025},
  howpublished = {\url{https://github.com/Jordan-Pierce/CoralNet-Toolbox}},
  note = {GitHub repository}
}

⚖️ Legal & Licensing

⚠️ Disclaimer

This is a scientific product and not official communication of NOAA or the US Department of Commerce. All code is provided 'as is' - users assume responsibility for its use.

📋 License

Software created by US Government employees is not subject to copyright in the United States (17 U.S.C. §105). The Department of Commerce reserves rights to seek copyright protection in other countries.


Empowering researchers • Protecting ecosystems • Advancing science

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coralnet_toolbox-1.0.5.tar.gz (962.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coralnet_toolbox-1.0.5-py2.py3-none-any.whl (1.1 MB view details)

Uploaded Python 2Python 3

File details

Details for the file coralnet_toolbox-1.0.5.tar.gz.

File metadata

  • Download URL: coralnet_toolbox-1.0.5.tar.gz
  • Upload date:
  • Size: 962.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for coralnet_toolbox-1.0.5.tar.gz
Algorithm Hash digest
SHA256 0366a4abb2d06d6eaa2116618ca7889054cf7b97f5517d0cc5d3de079e0c3738
MD5 f72ce0877f783aebdb098a1a50ffb9d8
BLAKE2b-256 5d0a4ad7f419dd34d003c4aee0cccc08ebb57a303c0c3c0609af242823d42d8f

See more details on using hashes here.

File details

Details for the file coralnet_toolbox-1.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for coralnet_toolbox-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 68c68448148cce4850d04b51d49b5ac21db987893933de8b1bee80254e4a8c8b
MD5 92e8354c3c665b71d08036343d6101be
BLAKE2b-256 6fdfc57fc778ed65d1d1315572f596dc2e95b93dfbbe20c4afb8f5f2436850df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page