Release v0.2.1
SiMa.ai Neat Apps v0.2.1
This patch release improves reliability for the single-stream-instance-segmenter example when a frame contains no detected instances.
What changed
The single-stream instance segmenter now handles valid empty segmentation outputs without crashing. When the model produces a frame where no instances survive filtering, the decoded output can contain zero box rows and zero mask rows. The app now detects that condition before copying box or mask tensors.
Frames with zero detections continue through the pipeline and are still published, just without segmentation overlays.
Why this matters
Real video streams often include frames where the target object is absent, partially occluded, too small, or filtered out by confidence thresholds. Those frames are normal and should not stop the application.
Before this fix, the example could treat a valid empty decoded tensor as an invalid dense-copy case and throw an exception. In practice, that could interrupt long-running segmentation demos or tests even though the model and pipeline were behaving correctly.
User benefit
- More stable long-running segmentation demos.
- Correct behavior when a frame has no detected instances.
- Continuous video output even when overlays are absent for some frames.
- No change required to model thresholds, graph topology, or Core tensor behavior.
Compatibility
This is an app-level patch for the v0.2.x line. It does not change public APIs, model formats, graph structure, or runtime transport behavior.
Existing users of the single-stream instance segmenter can take this update without changing their application code.
Validation
The fix was validated with formatting and focused build checks for the single-stream instance segmenter target. Runtime validation on Modalix confirmed that the segmentation path continues running under load without reproducing the empty-output crash.
Included changes
- Fix single-stream segmenter empty-output handling in #272
- Backport the fix to
integration/0.2.1in #275 - Promote the fix to
release-0.2in #276
Full Changelog: v0.2.0...v0.2.1