Comments (9)
+1 for WebGL support!
@homuler For WebGL, the Unity C# functions which return type Task will need to be refactored, as System.Threading is not supported in WebGL. Something like an async void which takes a System.Action as a completion callback is how I have gotten around this in the past.
If you're willing to do the plugin work, I'm sure contributors here (including me) would help on the Unity C# side.
I sent you a message regarding WebGL plans in the MediaPipe slack channel, as well.
from mediapipeunityplugin.
I've been looking into this for a few days and have confirmed that FaceMesh works on CPU (but it's just hopelessly slow).
I'm trying to modify it to use WebGL for inference, but it probably won't be fast enough to be useful (cf. https://github.com/prantoran/mediapipe).
The official JS version may be performing well enough, but it appears to be using internal code that we cannot access.
from mediapipeunityplugin.
I haven't thought seriously about it yet, so I don't know (at least, JS API exists).
If requested, I might try to support it in the future.
from mediapipeunityplugin.
Okay thank you
from mediapipeunityplugin.
Hello! I'd also be interested in WebGL support. If I wanted to start looking at it independently, do you have a recommendation of where to start?
from mediapipeunityplugin.
I guess some code can't be compiled, so first you would need to fix such compile-time errors.
cf. https://github.com/homuler/MediaPipeUnityPlugin/blob/master/C/mediapipe_api/import_model.bzl#L56
from mediapipeunityplugin.
+1 for WebGL support!
Can't wait for it.
from mediapipeunityplugin.
+1 : )
from mediapipeunityplugin.
any recent progress on this?
from mediapipeunityplugin.
Related Issues (20)
- The tracking of hand and pose is not possible. HOT 1
- Guidance on Implementing Image Classification with MediaPipeUnityPlugin HOT 27
- An error occurred when executing Execute python build.py build --desktop cpu -v HOT 2
- One eye squint/close detect not right in scene: Face Landmark Detection HOT 1
- The issue with launching simultaneously with OBS Studio HOT 5
- FaceLandmarkListWithIrisAnnotation: Collection was modified; enumeration operation may not execute. HOT 6
- Problems with opencv@3 HOT 2
- IOS pose tracking, camera won't start HOT 2
- About Windows ARM 64 HOT 1
- How to get localObjectDetection id,distinguish different Detections. HOT 5
- In case you were wondering why your build doesn't work on other devices HOT 1
- Handling and understanding GpuBuffer outputs HOT 1
- The libmediapipe_jni.so file in mediapipe_android.arr is large HOT 6
- benchmarking v0.14.4 release - discussion about performence issues / high latency HOT 16
- How to get body id when running Pose Landmark Detection HOT 1
- Plans to Use PoseWorldLandmark for Controlling Multiple Annotations in a Room via Task APIs? HOT 1
- v0.11.0 "BoxTracking" scene cannot run on android platform HOT 3
- Running on a TV box with poor performance HOT 2
- [FaceLandmarkDetection] InvalidOperationException: Collection was modified; enumeration operation may not execute. HOT 2
- DllNotFoundException: Unable to load DLL 'mediapipe_jni'. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipeunityplugin.