Skip to content

v0.2.1

Choose a tag to compare

@raullenchai raullenchai released this 17 Jun 19:10
· 21 commits to main since this release

Polish + edge-hardening release. pip install trio-retina

Changed

  • RTSP/edge hardeningvideo_frames no longer dies on a transient live (rtsp:// / live=True / webcam) read failure: it reconnects with exponential backoff and drops to the latest frame under back-pressure. Finite files unchanged (real EOF still ends the stream, every frame delivered).
  • README/docs headline quickstart now runs on a bare pip install trio-retina (numpy only, no model/GPU/video) — the YOLO + video form moved to a labeled secondary block.
  • CountRule(3) works (threshold is now positional); CountRule(threshold=3) unchanged.

Added

  • examples/bench_overhead.py — honest numpy-only micro-benchmark of the Retina-layer overhead (tracker + rules + event build, detector excluded): ~0.08 ms/frame at 20 tracks.
  • tests/test_sources.py — live-source reconnect / drop-to-latest tested via a fake-capture seam (no cv2, no real RTSP).
  • Colab notebooks (notebooks/) and the docs site synced.

Full notes: CHANGELOG.md