keijiro / FaceLandmarkBarracuda

MediaPipe face landmark detection model for Unity Barracuda
Apache License 2.0
114 stars 25 forks source link

Errors in WebGL #3

Closed anysizesean closed 2 years ago

anysizesean commented 2 years ago

Hey Keijiro - thanks so much for all these amazing repos! I tried building this one with the target set to WebGL, but I get errors in Chrome. Do you know if it is possible? Or does WebGL not work with compute shaders?

FaceTrackWebGLError

keijiro commented 2 years ago

Or does WebGL not work with compute shaders?

As far as I know, Unity WebGL player doesn't support GPU compute.

You may have to modify the package to run the model with the CPU worker.

keijiro commented 2 years ago

I'm closing this issue now. Please reopen it for further problems.