Repository navigation
0.3.0
What's changed
⚠️ Breaking changes
StateDetector(backend, roi, states)is nowStateDetector(roi, states, *, backend=None). Withoutbackend=, 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 raiseBackendError, so create detectors in an executor, not in an event loop. - ncnn is a regular dependency (
ncnn>=1.0.20261020) andimport tarsiusalways imports it. Thencnnextra is gone, andtarsius[ncnn]only gives a pip warning. NcnnBackend.idis nowsqueezenet11/2because fp16 is off. Stored originals are re-extracted on load, so nothing needs to be taught again.
✨ New features
🧰 Maintenance
📚 Documentation
Full Changelog: 0.2.0...0.3.0