mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Does Mediapipe support webgpu now? tfjs now is support webgpu

Open huotong1212 opened this issue 1 year ago • 2 comments

it seems mediapipe use webgl and wasm , but cant directly use webgpu。is there anyone know it? very looking forward to your help

huotong1212 avatar Dec 19 '23 07:12 huotong1212

Hi @huotong1212,

Our current knowledge indicates that MediaPipe does not have official support for WebGPU; instead, it relies on WebGL and WebAssembly (wasm). Considering the potential benefits of incorporating WebGPU, known for its superior performance compared to WebGL, we kindly request you to submit a new feature request. Please provide a detailed overview of the benefits the community would experience with this implementation. We will internally review and prioritize the request based on demand, with the goal of making WebGPU support possible in MediaPipe.

Thank you

kuaashish avatar Dec 19 '23 09:12 kuaashish

Thank you very much for your answer, but I am still a beginner and cannot provide any valuable feature requests. I still have a few questions:

Does MediaPipe support Vulkan and NNAPI? I found related content in the source code, but it is not mentioned in the official documentation, and there are no reference examples. How to build the MediaPipe NDK? We want to use MediaPipe's NDK for development instead of calling Java code. Is there any documentation on the C++ interface of MediaPipe NDK? I am very much looking forward to your answer.

huotong1212 avatar Dec 19 '23 14:12 huotong1212