Releases: homuler/MediaPipeUnityPlugin
v0.10.1
In this version, pre-built packages are distributed for the first time (to know how it's built, see https://github.com/homuler/MediaPipeUnityPlugin/blob/v0.10.1/.github/workflows/package.yml).
GitHub Actions workflows are also set up, so once you fork this repository, I think you can build a package with your favorite options.
Features
objectron: Set confidence parameters from the UI (#605)
Bug Fixes
docker build
freezes when building a Docker Windows image (#631)- OpenCV paths are wrong on macOS (#592)
- Some tests fail when built with GPU disabled (#634)
- Some tests fail on Windows (#644)
Build
v0.10.0
I have been writing tutorials for the past few weeks and have finally finished the basic parts.
This version includes scenes that can be used as templates, so I hope it's easier for more people to try this plugin.
If you find any errors in the tutorial, I would appreciate it if you could let me know.
I also have found several bugs and difficulties in using the plugin, which are fixed in this version.
⚠️ BREAKING CHANGES
- Upgrade the Unity version to 2021.3.3f1 (#588)
- plugin: Logger.minLogLevel -> Logger.MinLogLevel (#580)
NativePacketCallback
andNativeGlStatusFunction
returnStatusArgs
instead ofIntPtr
(#574)- Change
CoordinateSystem
method names and I/Fs (#569)- e.g.
ImageCoordinate#GetLocalPosition
->ImageCoordinate#ImageToLocalPoint
- The first argument type is now
UnityEngine.Rect
, notUnityEngine.RectTransform
- e.g.
Features
- Add scenes for tutorial (#582)
- plugin: MediaPipe v0.8.10 (#585)
- plugin: Implement
GpuManager
(#579) - plugin: Add missing
Status
factory methods (#573)
Bug Fixes
v0.9.3
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
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
v0.9.0
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 withUnityEngine.Color
Features
Performance
- Render the annotation for the hair mask using MaskShader (#507)
Bug Fixes
- Some
Packet
type constructors cause memory leak
v0.8.4
v0.8.3
- 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
See CHANGELOG for more details.
v0.8.2
v0.8.1
- Support M1 Mac (Experimental)
- Support Android build on Docker Windows (Experimental)
- Flip screen image when using front facing camera
- Validate
bundle_id
ofMediaPipeUnity
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.