Desktop GUI · Composable CLI · 3D Simulation

Annotate, track, and quantify animal behavior in one workspace.

Annolid unifies instance segmentation, sparse keypoint tracking, ethogram scoring, spatial zone analysis, Track QC, HTML5/SVG scientific reports, and interactive 3D simulations so labs move from raw video to reproducible statistics without fragile glue code.

pip install "annolid[gui]" && annolid
One workspace Polygons, keypoints, behavior flags, timelines, and Annolid Bot in one desktop UI.
Human-in-the-loop QC Flag occlusion gaps and velocity spikes automatically and jump straight to the frame.
Real + simulated twins Pair lab recordings with offline 3D Two-Mouse, Fly-Brain, and FlyBody simulations.
Video & Seed Frame Cutie / SAM3 / YOLO DINOv3 Keypoints Track QC & Zones Ethogram & HTML5 Report
Real-World Feature Showcase

Walk through every stage on real resident-intruder data

Every screenshot and chart below is generated directly from mouse083_task1_annotator1.mp4 and its Annolid tracking outputs using annolid and annolid-run. Click any visual to inspect full resolution.

mouse083_task1_annotator1 frame 260 showing resident and intruder instance polygons, 14 keypoints, motion trails, and investigation label
Instance Masks + Sparse Keypoints

Identity-preserving masks and 14 anatomical landmarks

Track whole-animal instance polygons with Cutie, SAM3, or YOLO, and pair them with 7 named landmarks per animal using DINOv3, TAPNext, or CoWTracker—without training a custom pose model first.

  • 78,091 tracked shape records across 4,881 frames (30 FPS)
  • Mask-constrained keypoint association eliminates cross-animal label swaps
  • LabelMe-compatible JSON + RLE CSV contracts stay editable at every frame
annolid-run track-qc mouse083_task1_annotator1_tracked.csv --expected-instances 2 --fps 30
Offline 3D Simulation & NeuroAI

From real recordings to 3D digital twins and connectomes

Test pose trackers, body-part segmenters, and sensorimotor neural circuits inside Annolid's bundled offline Three.js viewers—no external CDN or cloud GPU required.

Annolid Two-Mouse 3D Three.js simulation showing procedural C57BL/6 and BALB/c mice on aspen bedding
Two-Mouse 3D Open Field

Procedural C57BL/6 & BALB/c Arena

Layered CPG locomotion (walk, trot, half-bound gallop), social investigation, rearing, grooming, and camera presets running 100% offline in Three.js.

Explore Two-Mouse 3D Simulation →
Overhead view of Two-Mouse 3D simulation with 13-keypoint anatomical pose skeleton overlay
Synthetic Pose & Ground Truth

Reproducible 13-Keypoint Benchmarks

Export seeded COCO keypoint datasets with exact foot-contact and occlusion metadata to benchmark tracking models before annotating new lab cohorts.

Generate Seeded Pose Datasets →
Fly-Brain Connectome mode in Three.js showing live 264-neuron Drosophila LIF spike raster, descending neuron bars, dopamine plasticity, and Chrimson optogenetics driving the 3D mouse rig
NeuroAI · Connectome-in-the-Loop

Fly-Brain LIF Spiking Connectome Mode

A 264-neuron biophysical Drosophila LIF connectome (FlyWire / male-cns:v1.0) with live spike rasters, KC→MBON dopamine plasticity, and one-click Chrimson optogenetics driving the 3D mouse rig.

Launch Fly-Brain Mode (?fly_brain=1) →
Annolid Three.js 3D FlyBody viewer displaying the articulated Drosophila mesh, floor grid, FlyBody behavior control strip, and timeline scrubber
FlyBody 3D & Connectome Rollouts

Biomechanical Fruit-Fly Simulation Viewer

Lift 2D or depth-assisted Annolid pose tracks into 3D FlyBody site targets, play back articulated meshes, and run connectome-driven walking, grooming, and flight rollouts.

Explore FlyBody 3D Docs →
Interoperability & Ecosystem

Built to work with the tools your lab already uses

Keep your datasets portable across annotation, pose estimation, behavioral coding, and downstream statistics.

Pose & Model Interop

DeepLabCut, SLEAP, YOLO & COCO

Import and export DeepLabCut, SLEAP, Lightning Pose, SimBA, YOLO/YOLOE, and LabelMe/COCO formats with round-trip safety.

Ethology & Physiology

BORIS Live Coding & Sensor Sync

Import/export .boris projects, synchronize multi-camera audio/video, and overlay external photometry or TTL traces.

Agent Automation

Annolid Bot, MCP & Typed CLI

Run multimodal assistance, annolid-run workflows, MCP tools, and reproducible behavior-agent manifests locally.

Ready to run Annolid on your own recordings?

Install locally in minutes, follow the 20-minute Quickstart, or inspect the live HTML5/SVG report generated from mouse083_task1_annotator1.

Cite Annolid

If Annolid supports your research, please cite one or more of the references below.

Yang C, Cleland TA. Annolid: Annotate, Segment, and Track Anything You Need. arXiv:2403.18690 (2024).

@misc{yang2024annolid, title={Annolid: Annotate, Segment, and Track Anything You Need}, author={Chen Yang and Thomas A. Cleland}, year={2024}, eprint={2403.18690}, archivePrefix={arXiv}, primaryClass={cs.CV} }

Yang C, Forest J, Einhorn M, Cleland TA. Automated Behavioral Analysis Using Instance Segmentation. arXiv:2312.07723 (2023).

@article{yang2023automated, title={Automated Behavioral Analysis Using Instance Segmentation}, author={Yang, Chen and Forest, Jeremy and Einhorn, Matthew and Cleland, Thomas A}, journal={arXiv preprint arXiv:2312.07723}, year={2023} }