Skip to content

v0.9.0

Compare
Choose a tag to compare
@homuler homuler released this 07 Apr 03:21
· 226 commits to master since this release
v0.9.0
a07f43d

Until now, this plugin has only ported the MediaPipe API verbatim, providing little high-level API except for the sample app code.
After this version, I plan to provide several higher-level APIs like Solution APIs.

This version introduces OutputStream API, which will be helpful to retrieve the output (I'll prepare the document later).

To upgrade your local plugin version, please uninstall the current version first since some file paths have changed.

python build.py uninstall
python build.py build ...

⚠️ BREAKING CHANGES

  • implement ImageFrame#TryReadChannel and MaskShader (#507)
    • ImageFrame#ReadChannel is now removed
  • reimplement ImageFrame extension methods (#508)
    • ImageFrame#CopyToByteBuffer/CopyToUshortBuffer/CopyToFloatBuffer -> ImageFrame#CopyToBuffer
  • port missing protos (#502)
    • Mediapipe.Color may conflict with UnityEngine.Color

Features

  • OutputStream API (#516)
  • check Packet types at compile-time more properly (#509)

Performance

  • Render the annotation for the hair mask using MaskShader (#507)

Bug Fixes

  • Some Packet type constructors cause memory leak