CoralNet-Toolbox

Usage

Overview

The CoralNet Toolbox is a Python application built using PyQt5 for image annotation.
This guide provides instructions on how to use the application, including key functionalities and hotkeys

Annotations

Rasters

Images

Orthomosaics

Videos

Frames from Video

Extracted Work Areas (Tiles)

Split an orthomosaic or a large image into smaller images to annotate, then merge the annotations back onto the original:

1. Lay out the work areas

2. Extract

3. Annotate

4. Merge back

Other Work Areas actions

Z-Channels (Depth Maps & DEMs)

Z-Channels overlay depth or elevation data on top of images for spatial analysis:

Supported Data Types

Importing Z-Channel Data

Z-Channel Visualization

Measurement & Analysis

Removing Z-Channel Data

Computer Vision Tasks

Thresholds for Computer Vision Tasks

Main Window

The main window consists of several dockable components:

Advanced Docking System

All dock windows (Annotation Window, Labels Window, Rasters Window, Confidence Window, Metadata Window, Explorer, Performance, Timer) use an advanced docking system that allows complete layout customization:

Moving & Rearranging Docks

Floating Windows

Closing & Toggling Visibility

Default Layout

Layout Persistence

File

Utilities

AI-Assist

Machine Learning

CoralNet

Explorer

The Explorer is a dual-window system for browsing and analyzing annotations using embeddings (high-dimensional feature vectors). It enables exploration of annotations through two linked views: a gallery viewer and an embedding visualization, with real-time synchronization and feature caching.

The gallery displays annotation crops as a scrollable grid of thumbnail images. It includes:

Filtering & Sorting

Sorting Options

Display Controls

Selection & Navigation

Embedding Viewer Window

The embedding viewer displays annotations as points in 2D or 3D space, where proximity indicates semantic similarity. This enables:

Feature Extraction & Dimensionality Reduction

Advanced Embedding Settings (expandable “Advanced” panel)

Clustering (K-Means)

Display & Navigation

Interactive Controls

Mislabel Detection & Analysis

Feature Caching System (CacheManager)

The Explorer automatically caches extracted features to accelerate re-loading the same models:

How Caching Works

Cache Behavior

Multi-Model Support

Performance

Tips

Tool Bar Tools

Status Bar

Annotation Window

Baking and Unbaking Annotations

Both live in the Morphological Operations dialog, opened with Ctrl + R in Select tool or from Utilities > Morphological. Its Overlaps tab resolves overlapping polygons by label; see Utilities above.

Baking and Unbaking allows converting between vector annotations and mask annotations:

Video Playback Controls

When a video is loaded, additional playback controls appear:

Labels Window

Label Management Toolbar

Action buttons for label operations:

Label & Annotation Counts

Metadata Window

The Metadata Window is a property grid showing structured metadata for the currently selected annotation(s). It is docked on the right, tabbed with the Confidence Window, and updates with the selection made in the Annotation Window or the Explorer.

Field Groups

The grid is organized into three collapsible groups, each showing a count of its rows:

Group expansion is remembered as you move between annotations, and computed rows display <multiple annotations selected> when more than one annotation is selected.

Field Management Toolbar

Action buttons for schema operations:

Filter & Search

Editing Behavior

Schema Import & Export

The schema (the field definitions) travels separately from the values:

Rasters Window

Multi-select filters and search bars to control which images are displayed:

Information & Navigation

Context Menu

Right-Click on one or more highlighted rows to:

Image Preview

Confidence Window

Hotkeys

Tips & Quick Reference

General

Selection & Annotation Editing

Tool Control

Work Areas

Patch Tool

SAM / YOLOE Tools

Feature Select Tool

Model Predictions

After a model is loaded, use these shortcuts to run inference:

Confidence Window

Mouse Controls

Annotation Window Navigation