Tools for annotating and developing ML models for benthic imagery
Project description
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
โจ 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
๐ค 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 |
๐ Rectangle Annotation |
๐ท Multi-Polygon Annotation |
|---|
๐ค AI-Powered Analysis
๐ง Image Classification |
๐ฏ Object Detection |
๐ญ Instance Segmentation |
|---|
๐ฌ Advanced Capabilities
๐ชธ Segment Anything (SAM) |
๐ Polygon Classification |
๐ Region-based Detection |
|---|
โ๏ธ Editing & Processing Tools
โ๏ธ Cut |
๐ Combine |
๐จ Simplify |
|---|
๐ Specialized Features
๐๏ธ See Anything (YOLOE) |
๐บ๏ธ LAI Classification |
|---|
๐ Analysis & Exploration
๐ฌ Video Inference & Analytics |
๐ 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1f38b655c6138b8ec161caa50c0822f7a64873c77667d970adab8c15076b056
|
|
| MD5 |
977f6b6db8a47a9fba853915454f9d55
|
|
| BLAKE2b-256 |
e4635f0f61c6ca48a7dd66406e91aa7c3e1bb6e002f27ca1bd47d2271a3f319f
|
File details
Details for the file coralnet_toolbox-0.0.83-py2.py3-none-any.whl.
File metadata
- Download URL: coralnet_toolbox-0.0.83-py2.py3-none-any.whl
- Upload date:
- Size: 684.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d066778fd0f6967fb1a5594086457a3e17191110c80ae9b07ec5e0ec0cf06234
|
|
| MD5 |
089c7cda5b8f784a5bc0427e7e5b6911
|
|
| BLAKE2b-256 |
ae269f491d79973ee39d20e8774f83cd99cca4478aa7196623358499abf0dd24
|