v0.2.0
Trio Retina — the model-agnostic state layer for world models. Turn any detector (YOLO · VLM · DINO) into one standard, queryable stream of events + latent state. numpy-only core.
📦 First PyPI release:
pip install trio-retina
Added
Detection.from_supervision()— ingest a Roboflowsv.Detections(duck-typed, nosupervisionimport), so Supervision pipelines plug straight into Retina's event layer.LineRule(min_frames=...)— confirm a crossing only after N frames on the new side, suppressing jitter near the tripwire.- Hero examples (run with no model / GPU / network):
examples/rtsp_to_webhook.py(camera → restricted-zone alert → webhook),examples/from_supervision.py, andexamples/latent_vec.py(populate the latentvecchannel yourself).
Changed
- Distribution renamed to
trio-retina(import staysimport retina). [all]extra now installs every optional adapter (incl. Grounding DINO).- Honesty pass: dropped the unreproducible forecast number; latent channel documented as a shipped interface with producers on the roadmap.
Full notes: CHANGELOG.md