Skip to main content

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 coralnet12 python=3.12 -y
conda activate coralnet12

# Install uv
pip install uv

Python version: 3.12 is recommended, and 3.11 is fully supported. Python 3.10 still installs but is deprecated: it reaches end-of-life in October 2026, and newer releases of several dependencies already require 3.11 or 3.12. Python 3.13 and later are not supported yet.

Already on an older environment (for example coralnet10)? Python cannot be upgraded in place — see Moving an Existing Environment to Python 3.12 for the steps.

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 for a NVIDIA 5090 (blackwell); 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

🎯 GPU Status Indicators

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

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

⚠️ Platform-Specific Notes

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. Instead, use Docker for installation — see the Installation Guide for details.

🔧 Running into Issues?

Upgrading

# Upgrade coralnet-toolbox only (without upgrading other packages)
uv pip install --upgrade coralnet-toolbox

Note: Using -U or --upgrade-all upgrades all packages, which may trigger a regression to the CPU version of torch. To avoid this, use the command above to upgrade only coralnet-toolbox. If you do experience a regression, use pip to uninstall torch and torchvision, then re-install the CUDA version.

Removing Packages

To remove a problematic package, type the following:

uv pip uninstall package-name-here

Starting Fresh (New Environment)

To delete an old environment and create a fresh one:

# Deactivate if already in the environment
conda deactivate

# Delete the old environment (coralnet10 is the old Python 3.10 one)
conda env remove --name coralnet10

# Confirm when prompted
y

# Create a new environment (see "Get Started" section above for details)
conda create --name coralnet12 python=3.12 -y
conda activate coralnet12
pip install uv
uv pip install coralnet-toolbox

📚 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.


🌍 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 Sandin, Stuart and Kuester, Falko},
  title = {CoralNet-Toolbox: Human-in-the-Loop Annotation and Model Development for Benthic Imagery},
  year = {2025},
  howpublished = {\url{https://github.com/Jordan-Pierce/CoralNet-Toolbox}},
  note = {GitHub repository}
}

⚠️ 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

Metadata

Release files for coralnet-toolbox 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coralnet-toolbox 1.1.2
File Size Uploaded Provenance Actions
coralnet_toolbox-1.1.2.tar.gz 1.5 MB Without provenance Details for coralnet_toolbox-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coralnet-toolbox 1.1.2
File Interpreter ABI Platform Actions
coralnet_toolbox-1.1.2-py3-none-any.whl Python 3 none any Details for coralnet_toolbox-1.1.2-py3-none-any.whl

Total release size: 3.1 MB

Release files / coralnet_toolbox-1.1.2.tar.gz

Download URL coralnet_toolbox-1.1.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
997ab3fed19cfb2dafa03ed9d75a296177aca8a87cbd4cfcbcdf6096702cab05
BLAKE2b-256 checksum
How to use checksums
fcd01df00fafbe23b2dffecd56eb2c89caaa66135b624b5bfdf3533fb811a4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / coralnet_toolbox-1.1.2-py3-none-any.whl

Download URL coralnet_toolbox-1.1.2-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
825aece395ccc05fcdebb22c229a3aa2a5f2f7aaa66fcaff80b09b5127fb6f16
BLAKE2b-256 checksum
How to use checksums
33027c098fb4b7cda3e5aea44d709aac55b42dd1cce3a53921a1d0578c89148d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for coralnet-toolbox 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page