Repository navigation
EdgeFirst Perception for GStreamer v0.3.0
EdgeFirst Perception for GStreamer v0.3.0
Downloads
- SBOM:
edgefirst-gstreamer-v0.3.0-sbom.json
Note: Binaries for this library are built as part of the
meta-edgefirst Yocto layer.
What's Changed
Fixed
- NV12 plane offset corruption —
edgefirstoverlaynow usesGstVideoMeta
(authoritative buffer layout) instead ofGstVideoInfo(tight-packed assumption)
for plane strides and offsets. Fixes a ~10-pixel magenta band at the top of the
output when decoding H.264 viav4l2h264decon i.MX 8M Plus (Y plane height
padded to 1088 for macroblock alignment). - Split-box tensor detection — the min-dimension heuristic now handles both
TFLite features-first ([4, 8400]) and Ara-2 anchors-first ([8400, 4]) tensor
shapes, enabling auto-config for YOLOv8 segmentation across both frameworks. - Box quantization scale — the pixel-space scale ÷ model_input_size adjustment
is now gated onnormalized=false. TFLite uint8 models that already quantize
boxes in [0, 1] are no longer collapsed to sub-pixel slivers. Ara-2 DVM pipelines
must setnormalized=falseuntil future DVM exports adopt normalized coordinates.
Added
- Auto-letterbox — when the
letterboxproperty is unset, edgefirstoverlay
computes an aspect-preserving fit from the input video dimensions and the inferred
model input size, matching whatedgefirstcameraadaptor letterbox=trueproduces.
The explicitletterboxproperty still overrides when set.
Known Issues
- TFLite NHWC protos produce vertical-stripe mask artifacts on i.MX 8M Plus due to
a layout mismatch between the GStreamer overlay's NCHW shape labeling and the
physical NHWC memory order. Detection boxes and auto-letterbox work correctly;
only mask rendering is affected. Requires a HAL-side fix to handle NHWC protos.
Full Documentation: https://github.com/EdgeFirstAI/gstreamer#readme