These pages describe how to use YORU Tracker v0.1.0.
YORU finds animals and behaviours in each frame, but a detection does not say which animal it is. YORU Tracker links the detections of consecutive frames, so that each animal keeps one ID for the whole video — its track. From the tracks you get trajectories, speeds, and per-animal behaviour over time.
YORU YORU Tracker
---- ------------
label frames camera / video / folder of videos
| |
train a model --- best.pt ---> detector (your YORU model)
| detections, frame by frame
v
tracker (Lite) ---> IDs, trails, events
|
v
*_tracks.csv *_tracks.json *_detections.csv
.pt, .pth or .onnx) and a camera, a video or a folder of videos.The normal YORU application is unchanged by YORU Tracker. The two are separate programs that share YORU’s detectors.
| Workflow | Input | Use it to |
|---|---|---|
| Video Tracking | One video, or a detections CSV laid over its video | Track a recording, check every frame, tune the settings, export and render. |
| Realtime Tracking | A camera, or a video played in real time | See IDs live, measure latency, record tracks as they come. |
| Batch Tracking | A folder of videos | Track many recordings with one model and one set of settings. |
All three use the same tracker and the same Tracker Settings. The same detections give the same IDs whether they come from a camera, a video or a file.
A good way to start is Video Tracking on a short recording: run it once with the default settings, look at the frames where IDs change, adjust the settings, and press Re-track. When the settings work, use them in Batch or Realtime Tracking.
uv run yoru-tracker opens the start screen. It has a button for each workflow and a Settings button. Its footer shows the versions of YORU Tracker, YORU and the tracker API, and the path of the log file.
The menu bar is available on every screen:
| Menu | Items |
|---|---|
| Go | Home, Realtime Tracking, Video Tracking, Batch Tracking |
| Tracker | Settings… (the tracker settings window) |
| Help | Open log folder; the YORU Tracker and tracker API versions |
| Window | Fit window to this screen, Maximize window, Text size, Save layout now, Reset layout to default (the same menu as in YORU) |
You can also open one screen directly: uv run yoru-tracker gui --view video (or realtime, batch, home).
The detector model, the confidence threshold, the folders you last used, the camera ID and the tracker settings are remembered between sessions in ~/.yoru/yoru_tracker_gui.json. A model selected on one screen is selected on all of them.
| Term | Meaning |
|---|---|
| Detection | One box from the detector in one frame: position, size, angle (for oriented boxes), confidence and class. |
| Track | One animal followed over time. |
| Track ID | The animal’s number: 0, 1, 2, … given in the order tracks are confirmed. IDs restart at 0 only when the tracker is reset. |
| Tentative | A newcomer that has not been seen often enough yet (see min_hits). It has no ID. |
| Active | A track matched to a detection in this frame. |
| Lost | A track not detected in this frame. Its position is predicted, and it keeps its ID for up to max_age frames. |
| Retired | A track lost for longer than max_age. Its ID is not used again. |
| Predicted row | A lost track’s estimated position. Shown and exported only when you ask for it. |
| Trail | The track’s last 30 positions, drawn behind it. |
| Event | Something that happened to a track in a frame: created, lost, recovered, retired, or reset (every track dropped). |
| Tracker mode | Which tracker runs: lite (the default) or baseline (YORU’s frame-to-frame matching, for comparison). advanced is planned. |
~/.yoru/logs/yoru_tracker.log.