Track
BetaThe fly's oldest trick.
Follow anything that moves. Motion tracking.
| Platforms | Python, JavaScript, Rust |
|---|---|
| Engine | FlyCore v0.1.0 |
| Weights | v0.1.0-beta |
| Input ports | Frames (compound eye) → visual (11,390); Seed point → olfactory (2,282) |
| Output ports | Point + velocity (optic-lobe subnet) ← optic |
| Co-processors | none |
The 3D view needs WebGPU or WebGL2.
Install
Python
pip
pip install flycoreRust
Cargo
cargo add flycoreJavaScript
Terminal
npm i @flylabs/flycoreUsage
Track follows a chosen object through a video with the connectome's motion detectors: no class labels, no re-detection, just a point and a velocity, every frame.
Python
import flycore
brain = flycore.load("flylabs/track") # engine + weights + adapters
tracker = brain.seed(frame0, point=(410, 220))
for frame in video:
p, v = tracker(frame)
# p -> (x, y); v -> (vx, vy) px/sFigures
Figures marked target are design targets for the first release, not measurements.
| Throughput | 120 fpstarget Apple M-series, optic lobe subnet |
|---|---|
| AUC | 0.78target LaSOT single-object tracking |
Limits
- Single object per instance; run several for several.
- Beta: optic-lobe subnet only, not the full connectome.