Alex Shafir

Results 7 comments of Alex Shafir

I found a way for web worker: 1. Beatify holistic.js 2. Add this code after holistic.js line 993: `d.C = d.h.GL.currentContext.GLctx` (after `d.h.GL.makeContextCurrent(k);`) 3. Put your worker file in the...

@AmitMY In my demo I pass ImageBitmap directly to holistic.js index.js: ```js createImageBitmap(videoElement).then((bitmap) => { holisticWorker.postMessage(bitmap, [bitmap]) // transferable }) ``` holistic_worker.js: ```js onmessage = (event) => { holistic.send({image: event.data})...

For me bummer is that even after workaround holistic.js is ultra slow on high-end laptop, so I switched to face_mesh.js which shows a lot better performance.

@AmitMY Source code for Js Solutions is not released, see #1408 (basically wasm does not fit nicely into Bazel). So one cannot make PR. My solution is just a workaround....

@n0noob Are you sure rotation angles are really needed? Maybe rotation matrix 3x3 will be enough? For face mesh, it is trivial to find rot matrix: there are points on...

@lina128 I have opened corresponding MR in tfjs-models.

@lina128 are contributions still welcome or "stat:contributions welcome" label should be removed?