Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 18 May 21:08
· 12 commits to main since this release
v0.10.0
a2a280b

What's Changed

Changed (BREAKING)

  • edgefirst-hal upgraded from 0.22.0 to 0.23.0. The standalone
    load_image function has been removed from the image crate;
    callers now use the ImageLoad trait from the new edgefirst_codec
    crate (re-exported as edgefirst_hal::codec). The new pattern
    pre-allocates a tensor, then decodes in-place via
    tensor.load_image(&mut decoder, &bytes, &opts).
  • image crate dependency removed. The Error::Image variant
    (wrapping image::ImageError) is replaced by Error::Codec
    (wrapping edgefirst_hal::codec::CodecError). Downstream match
    arms on ara2::Error::Image(_) must be updated.
  • The yolov8 example now decodes directly into a GPU-accessible
    tensor via ImageDecoder, eliminating the previous CPU→GPU copy
    step.

Migration

0.9.x 0.10.0
ara2 = "0.9" ara2 = "0.10"
edgefirst-hal = "0.22" (downstream pin) edgefirst-hal = "0.23"
ara2::Error::Image(e) ara2::Error::Codec(e)
load_image(&bytes, Some(fmt), mem) peek_infoTensor::imagetensor.load_image(&mut decoder, &bytes, &opts)

crates.io: ara2 | ara2-sys
PyPI: edgefirst-ara2