Skip to content

Releases: homuler/MediaPipeUnityPlugin

v0.9.3

16 May 09:35
v0.9.3
dcf992d
Compare
Choose a tag to compare

Bug Fixes

  • plugin: check if the target local asset is missing (#562)
  • plugin: preserve Packet constructors for Reflection (#561)
  • plugin: prevent Status returned by a packet callback from being GCed prematurely (#563)
  • sample: dispose OutputStream if only it exists (#564)
  • sample: the default video/image is not selected (#543)

v0.9.1

19 Apr 04:34
v0.9.1
2845990
Compare
Choose a tag to compare

This release includes some requested features in the sample.

In addition to that, a menu button to export a unitypackage file is added.
I hope this makes it easier to use the plugin in another project.
Please read a wiki article for more information on how to import the plugin into your project!

Features

  • sample: Pose Segmentation Mask (#520, #521)
  • sample: Selfie Segmentation (#522)
  • sample: MIN_DETECTION_CONFIDENCE and MIN_TRACKING_CONFIDENCE (#523)
  • Set Protobuf LogHandler (#526)
    • libprotobuf logs can be displayed in the Console Window

Bug Fixes

  • CalculatorGraph constructor does not throw if it fails to initialize (#533)

Build

  • Export unitypackage + tarball (#531)
  • Allow arbitrary options to be passed to Bazel (#537)

v0.9.0

07 Apr 03:21
v0.9.0
a07f43d
Compare
Choose a tag to compare

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

v0.8.4

29 Mar 01:36
v0.8.4
2497f0c
Compare
Choose a tag to compare
  • Port ValidatedGraphConfig API (#477) (bde6874)
    • Now we can modify the CalculatorGraphConfig freely at runtime
  • implement MIN_DETECTION_CONFIDENCE and MIN_TRACKING_CONFIDENCE options (#483) (13c2a38)
  • Bug Fixes
    • Install OpenCV 3.4.16 on Docker Windows Containers (#484) (4210673)
    • Anchor position is flipped in the Instant Motion Tracking Scene (#506) (98cb0c4)
    • Front camera image is not rotated properly (#504) (9d47f7c)
    • The sample code may freeze on M1 Mac (#505) (9d7e390)

See CHANGELOG for more details.

v0.8.3

01 Mar 01:43
v0.8.3
47dbdc4
Compare
Choose a tag to compare
  • Add Non-Blocking Sync mode to the sample app
  • Enable to generate LLVM IR bitcode with emscripten (for WebGL)
  • Detect PYTHON_BIN_PATH automatically
  • Bug Fixes
    • SerializedProto's memory leaks (#461) (ac6316d)
    • Native libraries are not loaded with Load on Startup unchecked on Windows
    • smooth_landmarks option is not working (#454) (c90861c)
    • Build AAR on Docker (#441) (75a736a)
    • Memory for RenderTexture leaks (#451) (6a1d120)
    • etc...

See CHANGELOG for more details.

v0.8.2

15 Dec 11:25
v0.8.2
47ee481
Compare
Choose a tag to compare
  • Upgrade MediaPipe to v0.8.9
    • Support Python 3.10
    • Fix Bazel version (4.2.1)

See CHANGELOG for more details.

v0.8.1

02 Dec 09:19
v0.8.1
bed2f47
Compare
Choose a tag to compare
  • Support M1 Mac (Experimental)
  • Support Android build on Docker Windows (Experimental)
  • Flip screen image when using front facing camera
  • Validate bundle_id of MediaPipeUnity iOS Framework
  • Bug Fixes
    • Hand Landmarks color is wrong in Holistic scene
    • memory leaks when using VideoSource
    • model_complexity is ignored in Pose and Holistic sample
    • Synchronize the input image and the output annotation (#359)
    • etc...

See CHANGELOG for more details.

v0.8.0

22 Nov 11:26
v0.8.0
35fdfbc
Compare
Choose a tag to compare
  • MediaPipe v0.8.8 (#356)
    • Support refineLandmarks option (Face Mesh) (a76194f)
    • Support refineFaceLandmarks option (Holistic) (b669ac1)
  • Allow the default camera resolution to be set (#347) (4826ee2) (by @ROBYER1 )
  • Add .editorconfig and format code (#308)
  • Bug Fixes
    • AssetBundle can be loaded only once (#309) (702434d)
    • Enable OpenCL on Android (383b373)
    • MediaPipeVideoGraph fails in CPU mode (ca77c3f)
    • etc...

See CHANGELOG for more details.

v0.7.0

27 Sep 00:17
Compare
Choose a tag to compare
  • New Sample App (#296)
    • Support Objectron on iOS, Linux CPU, macOS, and Windows
    • Support InstantMotionTracking on iOS, Linux CPU, macOS, and Windows
    • Support HairSegmentation on iOS, macOS, and Windows
    • Support BoxTracking on Windows
    • Enable to use image or video as the input
  • CalculatorGraph#AddOutputStreamPoller now supports observeTimeoutBounds
  • Implement APIs to set Glog's flags
  • Bug Fixes
    • Annotations aren't correct when the input image is rotated
    • Depending on the orientation of the device, the orientation of the image may not be correct
    • Stop WebCamTexture when a scene is exiting
    • Cannot pass linker options to clang
    • API level need to be specified for some devices (fixed by @FUBAR2077 )
    • etc...

v0.6.2

11 Jul 08:58
Compare
Choose a tag to compare
  • MediaPipe v0.8.6
    • enable to get pose world landmarks
    • enable to switch face detection models

See CHANGELOG for more details.