accelerated_features icon indicating copy to clipboard operation
accelerated_features copied to clipboard

How to Use XFeat in a Web Environment (WebGL/WASM)?

Open NithinJangid opened this issue 11 months ago • 0 comments

I am trying to use XFeat in a web-based environment, but I am facing challenges in deploying it with WebGL or WebAssembly (WASM). Since XFeat is implemented in PyTorch, I would like guidance on the best approach to run it efficiently in a browser.

Questions ->

  1. Can XFeat be converted to a WebAssembly-compatible format? If so, is there a recommended way to convert it (e.g., via TorchScript, Emscripten, or another method)?
  2. Is there a way to run XFeat using WebGPU/WebGL for acceleration? If WebGL or WebGPU can be used, what modifications would be required?
  3. Are there any plans to support a JavaScript/WebAssembly implementation of XFeat? If not, would an ONNX export be recommended?

NithinJangid avatar Feb 19 '25 06:02 NithinJangid