This is the scope ledger for the build brief. It separates implemented product behavior from model assets and validation that are not present in the repository. BIOBUZZ scoring references use the official 2026–27 Competition Manual TU09, updated Nov 12, 2026.
- Home / Projects entry screen, create/open project actions, and recent videos for the active SQLite project.
- Video import, ffprobe/OpenCV metadata, low-resolution/frame-rate warning, event and match metadata, video playback and seeking.
- Per-video four-corner field calibration, editable top-down polygons, saved camera calibration reuse, and manual robot/team/alliance seeding.
- Configurable 5–10 fps processing, model/confidence settings, FFmpeg path, stage/progress/cancel, project run logs, and per-frame failure logging.
- YOLO detector integration, BoT-SORT tracking, homography from robot ground-contact bottom center, smoothed tracks, zone time and movement statistics.
- BoT-SORT
track_high_threshandnew_track_threshfollow the user's detection confidence (written to a per-run temporary tracker config, withtrack_low_threshkept below it). Global motion compensation stayssparseOptFlow;track_videoaccepts agmc_methodoverride. On Salk Q3 at 8 fps,nonegave the same per-robot tracks (identical tracker output on 1,141 of 1,279 sampled frames, the same 42 robot track IDs) but GMC cost only about 0.018 s per sampled frame against 0.26–0.44 s for detector inference on the same CPU, so the default was not changed. - Conservative YOLO identity recovery (
control_vision/pipeline/identity_recovery.py): a seeded robot whose track ends can be re-linked to one new, never-assigned track under a 15 ft/s speed gate plus 1 ft margin, a rule that no other unassigned track was inside the gate during the absence, one-to-one assignment over missing robots and candidates, an alliance-colour check against the robot's own reference, a 0.5 s minimum and 10 s maximum absence, and logging of every re-link and refusal. Robots that were never seeded are never assigned. - Zone-trip cycle candidates, scoring-element ROI count-change candidates, confidence/status review queue, manual event classification and recipient-alliance selection.
- Candidate highlight generation, in-app playback, export, best-frame robot PNGs, CSV stats and Scout JSON.
- BIOBUZZ TU09 reference and configured scoring values, including separate match points and Ranking Points, phase timing, fouls as opponent credits, and manual confirmation of end-state achievements.
- Match type (Qualification or Playoff) and the reviewer-entered referee ruling: per-team Qualification DQ (T601), Playoff alliance DQ with the first-DQ or simultaneous ruling for a double DQ (T705), and a Playoff match-final mark. Qualifications show Ranking Points; Playoffs show the winner, tie or pending result and no Ranking Points. The ruling is saved in the project and exported to CSV and Scout JSON.
- Official score comparison and event threshold controls. Confirmed events are the only video-derived points included in totals; flagged events keep the score visibly pending.
- Offline scoreboard OCR using user-drawn red/blue ROIs, RapidOCR local models and multi-frame consensus. OCR values are reviewable proposals and require explicit user acceptance before comparison; these are not scored events.
- Optional local ReID model selection for BoT-SORT; absence is logged and appearance matching remains disabled.
- Local training utilities for frame extraction, dataset hashing, YOLO fine-tuning, versioned ONNX export, and ONNX Runtime CPU smoke check.
- There are no BIOBUZZ-trained detector or OSNet/ReID weights or labeled dataset in the repository. Processing requires a local detector model with class 0
robot. A generic COCO model is not represented as a valid substitute. - The detector UI is described as ONNX-first, but Ultralytics' BoT-SORT
model.trackbackend path has not been verified as ONNX Runtime CPU on target machines. No target-laptop measurement is available. - ReID accepts a compatible user-supplied model; no OSNet architecture checkpoint has been bundled or validated.
- OC-SORT fallback and StrongSORT AFLink + GSI offline tracklet stitching are not implemented. Current tracking is BoT-SORT only, plus the rule-based identity recovery above, which is online, uses no appearance model beyond alliance-colour fractions, and refuses whenever more than one explanation fits. It cannot separate two same-alliance robots with similar colour levels, and an undetected unseeded robot can still be mistaken for a missing one. On Salk Q3 with the exploratory model it made no re-link (both seeded robots stay lost after their tracks end, at 2.1 s and 39.5 s); an earlier, looser rule set made 26 re-links there and inspection found many on the wrong robot. On one Ri30H clip it made one re-link, inspected as correct, extending a robot from 8.6 s to 45.9 s. These are qualitative single-clip observations; no ID-switch or completeness rate is claimed.
- OCR reconciliation with zone/element evidence is not implemented. OCR proposes video scoreboard totals only; all point-event attribution remains human-reviewed. On Salk Q3, ROIs at the live-overlay position returned 156–93. The final results screen moved the scores; ROIs drawn around its final digits proposed 180–103, matching the official FIRST Q3 result. Both values are flagged low confidence: red 180 rests on one frame after partial reveals 8 and 18 (26%), and blue 103 on 2 readable frames (54%). This is not a general accuracy claim and every proposal requires review.
- The seeded optical-flow mode is an experimental movement preview, not a full-match identity detector. It suspends uncertain tracks rather than guess identity, so it may record few or no positions. On the real Salk Q3 clip at 8 fps, a blue seed produced 23 positions in the first 3 seconds of the 170-second clip and none after, a red seed produced none, and no robot photo met the 200×200 minimum. The app marks a run with no positions as not analysed and names robots without positions. Do not use these tracks as scoring evidence.
- The public repository now declares AGPL-3.0 in
LICENSE, consistent with the chosen open-source path for Ultralytics YOLO. Before distributing a Windows build, include the license, identify the exact corresponding source commit, and publish provenance/licensing information for any fine-tuned weights. No BIOBUZZ weights are bundled yet. See Ultralytics licensing. - Automatic scoring for HIVE, FLOWER ownership/bottom NECTAR, GARDEN, robot parking/LEAVE and referee calls is not implemented. ROI changes are only review candidates; visual and referee evidence must be interpreted by a human.
- Model training and acceptance targets cannot be completed without suitable labeled BIOBUZZ data, fixed-camera footage screening, and held-out matches with hand-counted cycles / official results. No accuracy, speed, or holdout acceptance claim is made.
- The app includes a BIOBUZZ TU09 rule reference and manual-derived point/RP logic, but does not replace event referees, Robot Inspectors, the official scoring system, or later manual/team updates.
Use the brief's holdout matches only for verification, never for training. Measure ID switches, track completeness, calibration reprojection error, cycle error, clip coverage, score error, attribution accuracy, startup/import/results latency, and processing time on the target hardware. The Windows laptop used for the Salk Q3 optical-flow workflow completed the 170-second end-to-end smoke (two seeds at 8 fps, plus clip, OCR and exports) in about 694 seconds. This does not measure the required 8 fps YOLO processing budget, so performance thresholds remain targets rather than results.
- Official BIOBUZZ Competition Manual TU09
- Official BIOBUZZ game archive and Team Updates
- Full paraphrased in-app guide:
BIOBUZZ_RULES.md