Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 07:52
· 2 commits to main since this release
627f219

What's changed

⚠️ Breaking changes

  • StateDetector(backend, roi, states) is now StateDetector(roi, states, *, backend=None). Without backend=, the detector uses SqueezeNet on ncnn, loaded once per process and shared.
  • Creating the first detector without backend= loads the model. It blocks on file I/O and can raise BackendError, so create detectors in an executor, not in an event loop.
  • ncnn is a regular dependency (ncnn>=1.0.20261020) and import tarsius always imports it. The ncnn extra is gone, and tarsius[ncnn] only gives a pip warning.
  • NcnnBackend.id is now squeezenet11/2 because fp16 is off. Stored originals are re-extracted on load, so nothing needs to be taught again.

✨ New features

  • #8 feat!: ncnn as a regular dependency, StateDetector picks and shares its backend @RaHehl

🧰 Maintenance

  • #5 chore: drop CodSpeed, strict mypy, manual publish run @RaHehl

📚 Documentation

  • #7 docs: evaluate history with StateDetector, report unknown and timing @RaHehl

Full Changelog: 0.2.0...0.3.0