-
-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGL support #49
Comments
I haven't thought seriously about it yet, so I don't know (at least, JS API exists). |
Okay thank you |
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? |
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 |
+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. |
+1 for WebGL support! Can't wait for it. |
+1 : ) |
I've been looking into this for a few days and have confirmed that FaceMesh works on CPU (but it's just hopelessly slow). |
any recent progress on this? |
hello!I want to ask WebGL support possible? Will it be possible to support WebGL in the future?
The text was updated successfully, but these errors were encountered: