Data Formats & COCO / YOLO / NDJSON Cookbook#
Annolid is built on transparent, open file formats so your research annotations stay readable and reusable years later — whether you train in Ultralytics YOLO, PyTorch, Detectron2, DeepLabCut, SLEAP, or analyze in Python and R.
Dual Annotation Storage (Manual JSON + Fast NDJSON)#
When working with long videos, Annolid balances human editability with filesystem speed using two complementary layers inside <video_stem>/:
Layer |
Filename Pattern |
Purpose |
|---|---|---|
Manual seeds & edits |
|
Human-edited frames, anchor seeds, and zones. Supersede automatic predictions during re-tracking. |
High-volume predictions |
|
Append-only |
All Annolid export, Track QC, zone, pose, and reporting tools read both layers automatically so you never have to merge them manually.
Format Conversion Cheat Sheet#
From → To |
GUI Action |
CLI Command |
|---|---|---|
LabelMe → Tracking CSV |
|
|
LabelMe → YOLO dataset |
|
|
LabelMe → COCO |
|
Use GUI Dataset Export Wizard (supports polygons, masks & keypoints) |
DLC / SLEAP → LabelMe |
|
|
LabelMe / CSV → DLC / SLEAP |
|
|
BORIS ↔ Annolid Events |
|
|
Tip
Keep a single project.annolid.json and pose_schema.json at the root of your lab project so every export locks identical class IDs, keypoint ordering, and skeleton bone definitions. See COCO Data Flow on the Docs Portal for full YAML specifications.