# CoralNet-Toolbox πͺΈπ§°
<div align="center">
<p>
<img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/CoralNet_Toolbox.png" alt="CoralNet-Toolbox" width="400">
</p>
<h3>π <em>Empowering Coral Reef Research with AI-Powered Annotation Tools</em> π</h3>
<p><strong>An unofficial toolkit to supercharge your <a href="https://coralnet.ucsd.edu/">CoralNet</a> workflows with cutting-edge computer vision</strong></p>
</div>
---
## π Project Stats
<div align="center">
[](https://pypi.org/project/CoralNet-Toolbox)
[](https://pypi.python.org/pypi/CoralNet-Toolbox)
[](https://pepy.tech/project/coralnet-toolbox)
[](https://pypi.org/project/CoralNet-Toolbox)
[](https://pypi.org/project/CoralNet-Toolbox)
[](https://pypi.org/project/CoralNet-Toolbox)
[](https://pypi.org/project/CoralNet-Toolbox)
</div>
---
## β¨ Why CoralNet-Toolbox?
<div align="center">
| π― **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* |
</div>
---
## β‘ Quick Start
Get up and running in seconds:
```bash
# π» 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](https://jordan-pierce.github.io/CoralNet-Toolbox/installation).
---
## π Documentation Hub
<div align="center">
| π Guide | π― Purpose | π Link |
|:---:|:---:|:---:|
| **Overview** | Get the big picture | [π Read More](https://jordan-pierce.github.io/CoralNet-Toolbox/overview) |
| **Installation** | Detailed setup instructions | [βοΈ Setup Guide](https://jordan-pierce.github.io/CoralNet-Toolbox/installation) |
| **Usage** | Learn the tools | [π οΈ User Manual](https://jordan-pierce.github.io/CoralNet-Toolbox/usage) |
| **Hot Keys** | Keyboard shortcuts | [β¨οΈ Shortcuts](https://jordan-pierce.github.io/CoralNet-Toolbox/hot-keys) |
| **Classification** | Community tutorial | [π§ AI Tutorial](https://jordan-pierce.github.io/CoralNet-Toolbox/classify) |
</div>
---
## π₯ Video Demonstrations
<details open>
<summary><h3>πΊ <strong>Watch the Complete Tutorial Series</strong></h3></summary>
<div align="center">
<a href="https://youtube.com/playlist?list=PLG5z9IbwhS5NQT3B2jrg3hxQgilDeZak9&feature=shared">
<img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/toolbox_qt.PNG" alt="Video Tutorial Series" width="80%" style="border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
</a>
<p><strong>π¬ Complete playlist covering all major features and workflows</strong></p>
</div>
</details>
---
## π€ AI Model Arsenal
The toolbox integrates state-of-the-art models for efficient annotation workflows:
<div align="center">
### ποΈ **Trainable Models**
| **YOLO Family** | **Versions Available** |
|:---:|:---:|
| π¦Ύ **Legacy** | YOLOv3 β’ YOLOv4 β’ YOLOv5 |
| π **Modern** | YOLOv6 β’ YOLOv7 β’ YOLOv8 |
| β‘ **Latest** | YOLOv9 β’ YOLOv10 β’ YOLO11 β’ YOLO12 |
*Powered by the [Ultralytics](https://ultralytics.com/) ecosystem*
</div>
<div align="center">
### π― **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](https://Github.com/Jordan-Pierce/xSAM) integration*
</div>
<div align="center">
### ποΈ **Visual Prompting & Foundation Models**
| **Framework** | **Models** | **Capability** |
|:---:|:---:|:---:|
| **YOLOE** | See Anything | Visual prompt detection |
| **Transformers** | Grounding DINO β’ OWLViT β’ OmDetTurbo | Zero-shot detection |
</div>
---
## π οΈ Feature Showcase
<div align="center">
### π **Core Annotation Tools**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Patches.gif" alt="Patch Annotation" width="250" style="border-radius: 8px;"/><br>**π― Patch Annotation** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Rectangles.gif" alt="Rectangle Annotation" width="250" style="border-radius: 8px;"/><br>**π Rectangle Annotation** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Polygons.gif" alt="Polygon Annotation" width="250" style="border-radius: 8px;"/><br>**π· Multi-Polygon Annotation** |
|:---:|:---:|:---:|
### π€ **AI-Powered Analysis**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classification.gif" alt="Classification" width="250" style="border-radius: 8px;"/><br>**π§ Image Classification** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Object_Detection.gif" alt="Object Detection" width="250" style="border-radius: 8px;"/><br>**π― Object Detection** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Instance_Segmentation.gif" alt="Instance Segmentation" width="250" style="border-radius: 8px;"/><br>**π Instance Segmentation** |
|:---:|:---:|:---:|
### π¬ **Advanced Capabilities**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Segment_Anything.gif" alt="SAM" width="250" style="border-radius: 8px;"/><br>**πͺΈ Segment Anything (SAM)** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classifying_Polygons.gif" alt="Polygon Classification" width="250" style="border-radius: 8px;"/><br>**π Polygon Classification** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Work_Areas.gif" alt="Work Areas" width="250" style="border-radius: 8px;"/><br>**π Region-based Detection** |
|:---:|:---:|:---:|
### βοΈ **Editing & Processing Tools**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Cut.gif" alt="Cut Tool" width="250" style="border-radius: 8px;"/><br>**βοΈ Cut** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Combine.gif" alt="Combine Tool" width="250" style="border-radius: 8px;"/><br>**π Combine** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Simplify.gif" alt="Simplify Tool" width="250" style="border-radius: 8px;"/><br>**π¨ Simplify** |
|:---:|:---:|:---:|
### π **Specialized Features**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/See_Anything.gif" alt="YOLOE" width="400" style="border-radius: 8px;"/><br>**ποΈ See Anything (YOLOE)** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classifying_Orthomosaics.gif" alt="LAI Classification" width="400" style="border-radius: 8px;"/><br>**πΊοΈ LAI Classification** |
|:---:|:---:|
### π **Analysis & Exploration**
| <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Analytics.gif" alt="Video Analysis" width="400" style="border-radius: 8px;"/><br>**π¬ Video Inference & Analytics** | <img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Explorer.gif" alt="Data Explorer" width="400" style="border-radius: 8px;"/><br>**π Data Explorer & Clustering** |
|:---:|:---:|
</div>
---
## π§ 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, and polygon 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](https://github.com/Jordan-Pierce/CoralNet-Toolbox/issues)*
---
## π» Installation Guide
### π **Step 1: Environment Setup**
```bash
# Create a dedicated environment (recommended)
conda create --name coralnet10 python=3.10 -y
conda activate coralnet10
```
### β‘ **Step 2: Fast Installation with UV**
```bash
# 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:
```bash
# 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**
```bash
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**
```bash
# When updates are available
uv pip install -U coralnet-toolbox==[latest_version]
```
---
### ποΈ **Repository Structure**
<div align="center">
<a href="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/diagram.svg">
<img src="https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/diagram.svg" alt="Visualization of the codebase" width="80%">
</a>
</div>
---
## π 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
<div align="center">
<p><em>πͺΈ Protecting our oceans, one annotation at a time πͺΈ</em></p>
</div>
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](https://coralnet.ucsd.edu/)** 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:
```bibtex
@misc{CoralNet-Toolbox,
author = {Pierce, Jordan and Battista, Tim},
title = {CoralNet-Toolbox: AI-Powered Tools for Coral Reef Research},
year = {2025},
howpublished = {\url{https://github.com/Jordan-Pierce/CoralNet-Toolbox}},
note = {GitHub repository}
}
```
---
## βοΈ Legal & Licensing
<div align="center">
### β οΈ **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.*
</div>
---
<div align="center">
<p><strong>π Built with β€οΈ for coral reef conservation π</strong></p>
<p><em>Empowering researchers β’ Protecting ecosystems β’ Advancing science</em></p>
</div>
Raw data
{
"_id": null,
"home_page": null,
"name": "coralnet-toolbox",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.11,>=3.10",
"maintainer_email": null,
"keywords": "CoralNet-Toolbox",
"author": null,
"author_email": "Jordan Pierce <jordan.pierce@noaa.gov>",
"download_url": "https://files.pythonhosted.org/packages/11/5b/4045d9294015d3ff37fb5d7cd59caaebc1e5b2e3af60dfe1deadcc061112/coralnet_toolbox-0.0.77.tar.gz",
"platform": null,
"description": "# CoralNet-Toolbox \ud83e\udeb8\ud83e\uddf0\n\n<div align=\"center\">\n <p>\n <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/CoralNet_Toolbox.png\" alt=\"CoralNet-Toolbox\" width=\"400\">\n </p>\n \n <h3>\ud83c\udf0a <em>Empowering Coral Reef Research with AI-Powered Annotation Tools</em> \ud83c\udf0a</h3>\n \n <p><strong>An unofficial toolkit to supercharge your <a href=\"https://coralnet.ucsd.edu/\">CoralNet</a> workflows with cutting-edge computer vision</strong></p>\n</div>\n\n---\n\n## \ud83d\udcca Project Stats\n\n<div align=\"center\">\n\n[](https://pypi.org/project/CoralNet-Toolbox)\n[](https://pypi.python.org/pypi/CoralNet-Toolbox)\n[](https://pepy.tech/project/coralnet-toolbox)\n\n[](https://pypi.org/project/CoralNet-Toolbox)\n[](https://pypi.org/project/CoralNet-Toolbox)\n[](https://pypi.org/project/CoralNet-Toolbox)\n[](https://pypi.org/project/CoralNet-Toolbox)\n\n</div>\n\n---\n\n## \u2728 Why CoralNet-Toolbox?\n\n<div align=\"center\">\n \n| \ud83c\udfaf **Smart Annotation** | \ud83e\udd16 **AI-Powered** | \ud83d\ude80 **Complete Pipeline** |\n|:---:|:---:|:---:|\n| Create patches, rectangles, and polygons with intelligent assistance | Leverage SAM, YOLO, and foundation models | From data collection to deployment |\n| *Precision meets efficiency* | *Cutting-edge AI at your fingertips* | *End-to-end workflow automation* |\n\n</div>\n\n---\n\n## \u26a1 Quick Start\n\nGet up and running in seconds:\n\n```bash\n# \ud83d\udcbb Installation\npip install coralnet-toolbox\n\n# \ud83d\ude80 Launch\ncoralnet-toolbox\n```\n\n> **\ud83c\udf89 That's it!** The toolbox will open and you're ready to start annotating! \n\nFor a complete installation guide (including CUDA setup), see the [Installation Documentation](https://jordan-pierce.github.io/CoralNet-Toolbox/installation).\n\n---\n\n## \ud83d\udcda Documentation Hub\n\n<div align=\"center\">\n\n| \ud83d\udcd6 Guide | \ud83c\udfaf Purpose | \ud83d\udd17 Link |\n|:---:|:---:|:---:|\n| **Overview** | Get the big picture | [\ud83d\udccb Read More](https://jordan-pierce.github.io/CoralNet-Toolbox/overview) |\n| **Installation** | Detailed setup instructions | [\u2699\ufe0f Setup Guide](https://jordan-pierce.github.io/CoralNet-Toolbox/installation) |\n| **Usage** | Learn the tools | [\ud83d\udee0\ufe0f User Manual](https://jordan-pierce.github.io/CoralNet-Toolbox/usage) |\n| **Hot Keys** | Keyboard shortcuts | [\u2328\ufe0f Shortcuts](https://jordan-pierce.github.io/CoralNet-Toolbox/hot-keys) |\n| **Classification** | Community tutorial | [\ud83e\udde0 AI Tutorial](https://jordan-pierce.github.io/CoralNet-Toolbox/classify) |\n\n</div>\n\n---\n\n## \ud83c\udfa5 Video Demonstrations\n\n<details open>\n<summary><h3>\ud83d\udcfa <strong>Watch the Complete Tutorial Series</strong></h3></summary>\n\n<div align=\"center\">\n <a href=\"https://youtube.com/playlist?list=PLG5z9IbwhS5NQT3B2jrg3hxQgilDeZak9&feature=shared\">\n <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/toolbox_qt.PNG\" alt=\"Video Tutorial Series\" width=\"80%\" style=\"border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);\">\n </a>\n \n <p><strong>\ud83c\udfac Complete playlist covering all major features and workflows</strong></p>\n</div>\n\n</details>\n\n---\n\n## \ud83e\udd16 AI Model Arsenal\n\nThe toolbox integrates state-of-the-art models for efficient annotation workflows:\n\n<div align=\"center\">\n\n### \ud83c\udfcb\ufe0f **Trainable Models**\n\n| **YOLO Family** | **Versions Available** |\n|:---:|:---:|\n| \ud83e\uddbe **Legacy** | YOLOv3 \u2022 YOLOv4 \u2022 YOLOv5 |\n| \ud83d\ude80 **Modern** | YOLOv6 \u2022 YOLOv7 \u2022 YOLOv8 |\n| \u26a1 **Latest** | YOLOv9 \u2022 YOLOv10 \u2022 YOLO11 \u2022 YOLO12 |\n\n*Powered by the [Ultralytics](https://ultralytics.com/) ecosystem*\n\n</div>\n\n<div align=\"center\">\n\n### \ud83c\udfaf **Segment Anything Models**\n\n| **Model** | **Specialty** | **Use Case** |\n|:---:|:---:|:---:|\n| \ud83e\udeb8 **SAM** | General segmentation | High-quality masks |\n| \ud83c\udf0a **CoralSCOP** | Coral-specific | Marine biology focus |\n| \u26a1 **FastSAM** | Speed optimized | Real-time annotation |\n| \ud83d\udcf1 **MobileSAM** | Mobile-friendly | Edge deployment |\n| \u2702\ufe0f **EdgeSAM** | Efficient | Resource-constrained |\n| \ud83d\udd0d **RepViT-SAM** | Vision transformers | Advanced features |\n\n*Powered by our [xSAM](https://Github.com/Jordan-Pierce/xSAM) integration*\n\n</div>\n\n<div align=\"center\">\n\n### \ud83d\udc41\ufe0f **Visual Prompting & Foundation Models**\n\n| **Framework** | **Models** | **Capability** |\n|:---:|:---:|:---:|\n| **YOLOE** | See Anything | Visual prompt detection |\n| **Transformers** | Grounding DINO \u2022 OWLViT \u2022 OmDetTurbo | Zero-shot detection |\n\n</div>\n\n---\n\n## \ud83d\udee0\ufe0f Feature Showcase\n\n<div align=\"center\">\n\n### \ud83d\udcdd **Core Annotation Tools**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Patches.gif\" alt=\"Patch Annotation\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83c\udfaf Patch Annotation** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Rectangles.gif\" alt=\"Rectangle Annotation\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83d\udcd0 Rectangle Annotation** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Polygons.gif\" alt=\"Polygon Annotation\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83d\udd37 Multi-Polygon Annotation** |\n|:---:|:---:|:---:|\n\n### \ud83e\udd16 **AI-Powered Analysis**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classification.gif\" alt=\"Classification\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83e\udde0 Image Classification** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Object_Detection.gif\" alt=\"Object Detection\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83c\udfaf Object Detection** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Instance_Segmentation.gif\" alt=\"Instance Segmentation\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83c\udfad Instance Segmentation** |\n|:---:|:---:|:---:|\n\n### \ud83d\udd2c **Advanced Capabilities**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Segment_Anything.gif\" alt=\"SAM\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83e\udeb8 Segment Anything (SAM)** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classifying_Polygons.gif\" alt=\"Polygon Classification\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83d\udd0d Polygon Classification** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Work_Areas.gif\" alt=\"Work Areas\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83d\udccd Region-based Detection** |\n|:---:|:---:|:---:|\n\n### \u2702\ufe0f **Editing & Processing Tools**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Cut.gif\" alt=\"Cut Tool\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\u2702\ufe0f Cut** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Combine.gif\" alt=\"Combine Tool\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83d\udd17 Combine** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Simplify.gif\" alt=\"Simplify Tool\" width=\"250\" style=\"border-radius: 8px;\"/><br>**\ud83c\udfa8 Simplify** |\n|:---:|:---:|:---:|\n\n### \ud83c\udf1f **Specialized Features**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/See_Anything.gif\" alt=\"YOLOE\" width=\"400\" style=\"border-radius: 8px;\"/><br>**\ud83d\udc41\ufe0f See Anything (YOLOE)** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Classifying_Orthomosaics.gif\" alt=\"LAI Classification\" width=\"400\" style=\"border-radius: 8px;\"/><br>**\ud83d\uddfa\ufe0f LAI Classification** |\n|:---:|:---:|\n\n### \ud83d\udcca **Analysis & Exploration**\n\n| <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Analytics.gif\" alt=\"Video Analysis\" width=\"400\" style=\"border-radius: 8px;\"/><br>**\ud83c\udfac Video Inference & Analytics** | <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/figures/tools/Explorer.gif\" alt=\"Data Explorer\" width=\"400\" style=\"border-radius: 8px;\"/><br>**\ud83d\udd0d Data Explorer & Clustering** |\n|:---:|:---:|\n\n</div>\n\n---\n\n## \ud83d\udd27 Complete Workflow Pipeline\n\n### \ud83d\udce5 **Data Input**\n- **\ud83d\udd25 CoralNet Download**: Retrieve source data and annotations\n- **\ud83c\udfac Video Processing**: Extract frames from video files\n- **\ud83d\udcf8 Image Import**: Support for various image formats\n\n### \u270f\ufe0f **Annotation & Labeling**\n- **\ud83d\udc46 Manual Annotation**: Intuitive point, rectangle, and polygon tools\n- **\ud83e\udd16 AI-Assisted**: SAM, YOLO, and visual prompting models\n- **\ud83d\udcd0 Precision Editing**: Cut, combine, subtract, and simplify shapes\n\n### \ud83e\udde0 **Machine Learning**\n- **\ud83d\udd2c Hyperparameter Tuning**: Optimize training conditions\n- **\ud83d\ude80 Model Training**: Build custom classifiers and detectors\n- **\u26a1 Model Optimization**: Production-ready deployment\n\n### \ud83d\udcca **Analysis & Export**\n- **\ud83d\udcc8 Performance Evaluation**: Comprehensive model metrics\n- **\ud83c\udfaf Batch Inference**: Process multiple images automatically\n- **\ud83c\udfa5 Video Analysis**: Real-time processing with analytics\n- **\ud83d\udccb Multi-format Export**: CoralNet, Viscore, TagLab, GeoJSON\n\n---\n\n## \ud83d\udccb Roadmap\n\n*See the current tickets and planned features on the [GitHub Issues Page](https://github.com/Jordan-Pierce/CoralNet-Toolbox/issues)*\n\n---\n\n## \ud83d\udcbb Installation Guide\n\n### \ud83d\udc0d **Step 1: Environment Setup**\n```bash\n# Create a dedicated environment (recommended)\nconda create --name coralnet10 python=3.10 -y\nconda activate coralnet10\n```\n\n### \u26a1 **Step 2: Fast Installation with UV**\n```bash\n# Install UV for faster package management\npip install uv\n\n# Install CoralNet-Toolbox\nuv pip install coralnet-toolbox\n```\n\n> **Fallback**: If UV fails, use regular pip: `pip install coralnet-toolbox`\n\n### \ud83d\ude80 **Step 3: GPU Acceleration (Optional)**\nFor CUDA-enabled systems:\n```bash\n# Example for CUDA 12.9\n# Install PyTorch with CUDA support\nuv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu129 --upgrade\n```\n\n### \ud83c\udfc3\u200d\u2642\ufe0f **Step 4: Launch**\n```bash\ncoralnet-toolbox\n```\n\n### \ud83c\udfaf **GPU Status Indicators**\n- **\ud83d\udc22** CPU only\n- **\ud83d\udc07** Single GPU\n- **\ud83d\ude80** Multiple GPUs \n- **\ud83c\udf4e** Mac Metal (Apple Silicon)\n\n*Click the icon in the bottom-left to see available devices*\n\n### \ud83d\udd04 **Upgrading**\n```bash\n# When updates are available\nuv pip install -U coralnet-toolbox==[latest_version]\n```\n\n---\n\n### \ud83c\udfd7\ufe0f **Repository Structure**\n\n<div align=\"center\">\n <a href=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/diagram.svg\">\n <img src=\"https://raw.githubusercontent.com/Jordan-Pierce/CoralNet-Toolbox/refs/heads/main/diagram.svg\" alt=\"Visualization of the codebase\" width=\"80%\">\n </a>\n</div>\n\n---\n\n## \ud83c\udf0a Success Stories\n\n> **Using CoralNet-Toolbox in your research?** \n> \n> We'd love to feature your work! Share your success stories to help others learn and get inspired.\n\n---\n\n## \ud83c\udf0d About CoralNet\n\n<div align=\"center\">\n <p><em>\ud83e\udeb8 Protecting our oceans, one annotation at a time \ud83e\udeb8</em></p>\n</div>\n\nCoral 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.\n\n**[CoralNet](https://coralnet.ucsd.edu/)** is a revolutionary platform enabling researchers to:\n- Upload and analyze coral reef photographs\n- Create detailed species annotations\n- Build AI-powered classification models\n- Collaborate with the global research community\n\nThe **CoralNet-Toolbox** extends this mission by providing advanced AI tools that accelerate research and improve annotation quality.\n\n---\n\n## \ud83d\udcc4 Citation\n\nIf you use CoralNet-Toolbox in your research, please cite:\n\n```bibtex\n@misc{CoralNet-Toolbox,\n author = {Pierce, Jordan and Battista, Tim},\n title = {CoralNet-Toolbox: AI-Powered Tools for Coral Reef Research},\n year = {2025},\n howpublished = {\\url{https://github.com/Jordan-Pierce/CoralNet-Toolbox}},\n note = {GitHub repository}\n}\n```\n\n---\n\n## \u2696\ufe0f Legal & Licensing\n\n<div align=\"center\">\n\n### \u26a0\ufe0f **Disclaimer**\n*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.*\n\n### \ud83d\udccb **License**\n*Software created by US Government employees is not subject to copyright in the United States (17 U.S.C. \u00a7105). The Department of Commerce reserves rights to seek copyright protection in other countries.*\n\n</div>\n\n---\n\n<div align=\"center\">\n <p><strong>\ud83c\udf0a Built with \u2764\ufe0f for coral reef conservation \ud83c\udf0a</strong></p>\n <p><em>Empowering researchers \u2022 Protecting ecosystems \u2022 Advancing science</em></p>\n</div>\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Tools for annotating and developing ML models for benthic imagery",
"version": "0.0.77",
"project_urls": {
"Homepage": "https://github.com/Jordan-Pierce/CoralNet-Toolbox"
},
"split_keywords": [
"coralnet-toolbox"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e9531160648067a8e751f4b49707693af1c572267363b750f2f9c653356732e2",
"md5": "87febf8aff5b6fdde911e71290337673",
"sha256": "4896ac89aacae549ee7235552e329a5ecabab1e6d74b2b763cfa03e65e06bd5d"
},
"downloads": -1,
"filename": "coralnet_toolbox-0.0.77-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "87febf8aff5b6fdde911e71290337673",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": "<3.11,>=3.10",
"size": 622388,
"upload_time": "2025-09-08T21:30:45",
"upload_time_iso_8601": "2025-09-08T21:30:45.929562Z",
"url": "https://files.pythonhosted.org/packages/e9/53/1160648067a8e751f4b49707693af1c572267363b750f2f9c653356732e2/coralnet_toolbox-0.0.77-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "115b4045d9294015d3ff37fb5d7cd59caaebc1e5b2e3af60dfe1deadcc061112",
"md5": "cbbde65d33a401572e79ec74d43626e8",
"sha256": "d20d5ebe0eed12003fbde5118c307664f901943b7be0b8c1026d74143f611b6d"
},
"downloads": -1,
"filename": "coralnet_toolbox-0.0.77.tar.gz",
"has_sig": false,
"md5_digest": "cbbde65d33a401572e79ec74d43626e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.11,>=3.10",
"size": 519812,
"upload_time": "2025-09-08T21:30:47",
"upload_time_iso_8601": "2025-09-08T21:30:47.751492Z",
"url": "https://files.pythonhosted.org/packages/11/5b/4045d9294015d3ff37fb5d7cd59caaebc1e5b2e3af60dfe1deadcc061112/coralnet_toolbox-0.0.77.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-08 21:30:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Jordan-Pierce",
"github_project": "CoralNet-Toolbox",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "PyQt5",
"specs": [
[
">=",
"5.15.11"
]
]
},
{
"name": "pyqtdarktheme",
"specs": []
},
{
"name": "pyqtgraph",
"specs": []
},
{
"name": "ultralytics",
"specs": [
[
">=",
"8.3.191"
]
]
},
{
"name": "lap",
"specs": [
[
">=",
"0.5.12"
]
]
},
{
"name": "open-clip-torch",
"specs": [
[
">=",
"2.20.0"
]
]
},
{
"name": "supervision",
"specs": [
[
">=",
"0.24.0"
]
]
},
{
"name": "scikit-learn",
"specs": []
},
{
"name": "umap-learn",
"specs": []
},
{
"name": "faiss-cpu",
"specs": []
},
{
"name": "pycocotools",
"specs": []
},
{
"name": "ujson",
"specs": []
},
{
"name": "timm",
"specs": [
[
"==",
"0.9.2"
]
]
},
{
"name": "autodistill",
"specs": []
},
{
"name": "transformers",
"specs": [
[
">=",
"4.56.0"
]
]
},
{
"name": "hf_xet",
"specs": []
},
{
"name": "x-segment-anything",
"specs": [
[
">=",
"0.0.8"
]
]
},
{
"name": "yolo-tiling",
"specs": [
[
">=",
"0.0.19"
]
]
},
{
"name": "roboflow",
"specs": []
},
{
"name": "rasterio",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "selenium",
"specs": [
[
">=",
"4.15.2"
]
]
},
{
"name": "beautifulsoup4",
"specs": [
[
">=",
"4.12.2"
]
]
},
{
"name": "webdriver_manager",
"specs": []
},
{
"name": "dill",
"specs": []
},
{
"name": "seaborn",
"specs": []
},
{
"name": "GPUtil",
"specs": []
},
{
"name": "psutil",
"specs": []
}
],
"lcname": "coralnet-toolbox"
}