Skip to main content

Tools for annotating and developing ML models for benthic imagery

Project description

CoralNet-Toolbox ๐Ÿชธ๐Ÿงฐ

CoralNet-Toolbox

๐ŸŒŠ Empowering Coral Reef Research with AI-Powered Annotation Tools ๐ŸŒŠ

An unofficial toolkit to supercharge your CoralNet workflows with cutting-edge computer vision


๐Ÿ“Š Project Stats

Python Version Version Downloads

PyPI Passing Windows macOS Ubuntu


โœจ Why CoralNet-Toolbox?

๐ŸŽฏ Smart Annotation ๐Ÿค– AI-Powered ๐Ÿš€ Complete Pipeline
Create patches, rectangles, and polygons with intelligent assistance Leverage SAM, YOLO, and foundation models From data collection to deployment
Precision meets efficiency Cutting-edge AI at your fingertips End-to-end workflow automation

โšก Quick Start โšก

Get up and running in seconds:

# ๐Ÿ’ป Installation
pip install coralnet-toolbox

# ๐Ÿš€ Launch
coralnet-toolbox

๐ŸŽ‰ That's it! The toolbox will open and you're ready to start annotating!

For a complete installation guide (including CUDA setup), see the Installation Documentation.


๐Ÿ“š Documentation Hub

๐Ÿ“– Guide ๐ŸŽฏ Purpose ๐Ÿ”— Link
Overview Get the big picture ๐Ÿ“‹ Read More
Installation Detailed setup instructions โš™๏ธ Setup Guide
Usage Learn the tools ๐Ÿ› ๏ธ User Manual
Hot Keys Keyboard shortcuts โŒจ๏ธ Shortcuts
Classification Community tutorial ๐Ÿง  AI Tutorial

๐ŸŽฅ Video Demonstrations

๐Ÿ“บ Watch the Complete Tutorial Series

Video Tutorial Series

๐ŸŽฌ Complete playlist covering all major features and workflows


๐Ÿค– AI Model Arsenal

The toolbox integrates state-of-the-art models for efficient annotation workflows:

๐Ÿ‹๏ธ Trainable Models

YOLO Family Versions Available
๐Ÿฆพ Legacy YOLOv3 โ€ข YOLOv4 โ€ข YOLOv5
๐Ÿš€ Modern YOLOv6 โ€ข YOLOv7 โ€ข YOLOv8
โšก Latest YOLOv9 โ€ข YOLOv10 โ€ข YOLO11 โ€ข YOLO12

Powered by the Ultralytics ecosystem

๐ŸŽฏ Segment Anything Models

Model Specialty Use Case
๐Ÿชธ SAM General segmentation High-quality masks
๐ŸŒŠ CoralSCOP Coral-specific Marine biology focus
โšก FastSAM Speed optimized Real-time annotation
๐Ÿ“ฑ MobileSAM Mobile-friendly Edge deployment
โœ‚๏ธ EdgeSAM Efficient Resource-constrained
๐Ÿ” RepViT-SAM Vision transformers Advanced features

Powered by our xSAM integration

๐Ÿ‘๏ธ Visual Prompting & Foundation Models

Framework Models Capability
YOLOE See Anything Visual prompt detection
Transformers Grounding DINO โ€ข OWLViT โ€ข OmDetTurbo Zero-shot detection

๐Ÿ› ๏ธ Feature Showcase

๐Ÿ“ 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

๐ŸŒŸ Specialized Features

YOLOE
๐Ÿ‘๏ธ See Anything (YOLOE)
LAI Classification
๐Ÿ—บ๏ธ LAI Classification

๐Ÿ“Š Analysis & Exploration

Video Analysis
๐ŸŽฌ Video Inference & Analytics
Data Explorer
๐Ÿ” Data Explorer & Clustering

๐Ÿ”ง Complete Workflow Pipeline

๐Ÿ“ฅ Data Input

  • ๐Ÿ”ฅ CoralNet Download: Retrieve source data and annotations
  • ๐ŸŽฌ Video Processing: Extract frames from video files
  • ๐Ÿ“ธ Image Import: Support for various image formats

โœ๏ธ Annotation & Labeling

  • ๐Ÿ‘† Manual Annotation: Intuitive point, rectangle, polygon and semantic tools
  • ๐Ÿค– AI-Assisted: SAM, YOLO, and visual prompting models
  • ๐Ÿ“ Precision Editing: Cut, combine, subtract, and simplify shapes

๐Ÿง  Machine Learning

  • ๐Ÿ”ฌ Hyperparameter Tuning: Optimize training conditions
  • ๐Ÿš€ Model Training: Build custom classifiers and detectors
  • โšก Model Optimization: Production-ready deployment

๐Ÿ“Š Analysis & Export

  • ๐Ÿ“ˆ Performance Evaluation: Comprehensive model metrics
  • ๐ŸŽฏ Batch Inference: Process multiple images automatically
  • ๐ŸŽฅ Video Analysis: Real-time processing with analytics
  • ๐Ÿ“‹ Multi-format Export: CoralNet, Viscore, TagLab, GeoJSON

๐Ÿ“‹ Roadmap

See the current tickets and planned features on the GitHub Issues Page


๐Ÿ’ป Installation Guide

๐Ÿ Step 1: Environment Setup

# Create a dedicated environment (recommended)
conda create --name coralnet10 python=3.10 -y
conda activate coralnet10

โšก Step 2: Fast Installation with UV

# Install UV for faster package management
pip install uv

# Install CoralNet-Toolbox
uv pip install coralnet-toolbox

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

๐Ÿš€ Step 3: GPU Acceleration (Optional)

For CUDA-enabled systems:

# Example for CUDA 12.9
# Install PyTorch with CUDA support
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu129 --upgrade

๐Ÿƒโ€โ™‚๏ธ Step 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

๐Ÿ”„ Upgrading

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

๐Ÿ—๏ธ Repository Structure


๐ŸŒŠ 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

๐Ÿชธ Protecting our oceans, one annotation at a time ๐Ÿชธ

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.


๐ŸŒŠ Built with โค๏ธ for coral reef conservation ๐ŸŒŠ

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-0.0.83.tar.gz (575.5 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-0.0.83-py2.py3-none-any.whl (684.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for coralnet_toolbox-0.0.83.tar.gz
Algorithm Hash digest
SHA256 c1f38b655c6138b8ec161caa50c0822f7a64873c77667d970adab8c15076b056
MD5 977f6b6db8a47a9fba853915454f9d55
BLAKE2b-256 e4635f0f61c6ca48a7dd66406e91aa7c3e1bb6e002f27ca1bd47d2271a3f319f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coralnet_toolbox-0.0.83-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d066778fd0f6967fb1a5594086457a3e17191110c80ae9b07ec5e0ec0cf06234
MD5 089c7cda5b8f784a5bc0427e7e5b6911
BLAKE2b-256 ae269f491d79973ee39d20e8774f83cd99cca4478aa7196623358499abf0dd24

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