The demo run
Everything below happened on 2026-11-27 on a MacBook (Apple M5 Pro, CPU only), with scripts/demo.sh and the review UI. Numbers are copied from the run's output, not estimated.
Data
Copied, read-only, from the AquaAI repo into demo-data/ (gitignored):
| set | files | licence | published? |
|---|---|---|---|
| public | 4 cattle clips, 640x360, 12-20 s each: Black Angus at a hay ring (Alabama Extension, Wikimedia Commons, CC0); cows in a shelter, in a paddock (Magda Ehlers) and on a hillside (Sandro Müller), all Pexels License | allows reuse | yes: the website's screenshots and card excerpt come only from these |
| ranch | 3 clips from a Vitals test ranch (40, 11 and 47 s) | private | no |
| stills | 4 cattle photos whose source AquaAI says is unknown | unknown | no |
| text | 8 rancher replies written for this demo, in the style vitals_solo/outcomes.py parses (red was sick, gave draxxin, 18 days) | made up for the demo | n/a |
Two Corral projects keep the public material apart from the private: cattle-public and vitals-private, both with examples/cattle.toml.
Pipeline
| step | cattle-public | vitals-private |
|---|---|---|
| ingest | 4 clips -> 51 frames picked from 255 analysed candidates (scene/motion sampling) | 3 clips -> 87 frames, 4 stills, 8 text items |
| mine (phash <= 4 bits, YOLO-embedding cosine >= 0.99) | 26 near-duplicates dropped (21 phash, 5 embedding), 25 kept | 75 dropped (56 phash, 19 embedding), 24 kept |
YOLO pre-label (yolo11n-seg.pt, COCO classes mapped) | 25 frames, 3.4 s | 16 frames, 3.2 s |
Claude pre-label (claude-haiku-5-5 via claude -p) | 25 frames, 75 labels, 33.8 s | 16 frames + 8 replies, 56 labels, 26.8 s |
Vitals detector plugin (examples/vitals_detector.py) | 5 frames, 3.4 s |
49 Claude CLI calls in total, no failures. The CLI reported $0.035 of list-price usage for all of them (it ran on a subscription login, no API key).
The top of the public queue after pre-labelling, from corral queue:
8 0.680 public-hay-ring... uncertainty 0.60, disagreement 1.00, motion 0.70, rare 0.70
head_count: claude-haiku-5-5 says 7, yolo11n-seg drew 0
9 0.645 public-hay-ring... uncertainty 0.50, disagreement 1.00, motion 0.75, rare 0.70
head_count: claude-haiku-5-5 says 6, yolo11n-seg drew 0
YOLO found no cows in two frames packed with black Angus at a hay ring; Claude counted six and seven. Those are the frames worth a person's time, and they came first.
Review
The review was done by the agent that built Corral (reviewer id claude-agent), not by a person: it looked at each frame, decided, and drove the real review UI in a headless browser (keyboard accept, Fix with drawn boxes, deleting and reclassifying boxes, a reject followed by an undo). Treat these labels as a demo, not ground truth. The "median seconds per item" on the Stats page is the script's speed, not a human's.
- cattle-public: 22 of 25 frames reviewed: 12 accepted as proposed, 10 fixed. 3 left pending. Of the 22, the reviewer kept Claude's scene on 21, its condition tags on 18 and its head count on 17. YOLO's box count was off by 1.27 cows per frame on average against the final answer.
- vitals-private: the 8 rancher replies. Claude's
confirmed_sickmatched the reviewer on all 8 (includingnot yet->unknownanddaisy died overnight->unknown).
Export
cattle-public v1-v4 (yolo, coco, jsonl, voc), 22 items each: train 19, val 1, test 2. The four clips are four source groups; the hay-ring and paddock clips are in train, the shelter clip in val, the hillside clip in test. corral verify passes on all four.
From the v1 card:
| model label, accepted by a reviewer | 69 | 78% |
| written or corrected by a reviewer | 19 | 22% |
Boxes: 48 kept from a model, 18 drawn or redrawn by a reviewer, 5 model boxes deleted as wrong.
Known gaps
- `animals`: fewer than 10 examples of calf (2)
- `scene`: missing from an evaluation split: hay_ring (not in val or test), ...
- no night or IR frames: a model trained on this has not seen the dark
- the val split comes from a single source group, so its scores describe one clip or source
v5 is a VOC export with --classes cow,calf, which AquaAI's tools/finetune.py loaded and trained on as-is (see docs/vitals.md). A 1-epoch Ultralytics training run on v1-yolo's data.yaml also loaded and completed.
vitals-private v1 (jsonl): the 8 replies, with confirmed_sick yes 4, no 2, unknown 2.
Not covered
- No real night or IR footage was available in AquaAI, so the night flag was exercised on the dark frames of one ranch clip (mean luma 0.16) and in tests, not on IR video.
- The two-reviewer flow was run on a third project,
cattle-consensus(the hay-ring clip, 12 frames,consensus = 2), but both reviewer ids (claude-agent,claude-agent-2) were the build agent: B accepted YOLO's boxes on 6 frames, A agreed on 3 and fixed 3 (a calf labelled as a cow, a box spanning two cows, a fence rail called a vehicle). That gave 3 conflicts; one was resolved for A, two were left open for the resolve-view screenshot on the website.