ブラウザ上でMediaPipeを動かし、推論結果をJavaScript→Unity WebGL連携で表示するサンプルです。
動作確認用ページは以下。
https://kazuhito00.github.io/Unity-MediaPipeJs-SendMessage-WebGL-Sample/WebGL-Build
- Unity 2021.1.0b6 or later
- MediaPipe:JavaScript Solution API
- JavaScript連携方法:Unity2020でWebGLを試してみた! ~基本編~
- HTMLテンプレート変更方法:Unity2020でWebGLを試してみた! ~応用編~
- 【Unity】JsonUtilityで配列とリストを処理する
高橋かずひと(https://twitter.com/KzhtTkhs)
Unity-MediaPipeJs-SendMessage-WebGL-Sampleis under Apache-2.0 License.