Git Product home page Git Product logo

Comments (9)

GreyPoupwn avatar GreyPoupwn commented on August 28, 2024 3

+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.

homuler avatar homuler commented on August 28, 2024 2

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.

homuler avatar homuler commented on August 28, 2024

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.

zer0012 avatar zer0012 commented on August 28, 2024

Okay thank you

from mediapipeunityplugin.

JoeProgram avatar JoeProgram commented on August 28, 2024

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.

homuler avatar homuler commented on August 28, 2024

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.

Keerato avatar Keerato commented on August 28, 2024

+1 for WebGL support!

Can't wait for it.

from mediapipeunityplugin.

juhanikarlsson avatar juhanikarlsson commented on August 28, 2024

+1 : )

from mediapipeunityplugin.

bryandickson avatar bryandickson commented on August 28, 2024

any recent progress on this?

from mediapipeunityplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.