Full face stack that runs entirely in the browser. Detection, 576-point 3D mesh, recognition, anti-spoof, smile — all WebAssembly, zero server. Apache 2.0.
C avx-512avx2biometricsc99computer-visioncpu-inferencedeep-learningedge-aiembedded-aiface-embeddingface-recognitionface-verificationlow-latencyonnx-runtimeproduction-readysimdzero-dependencies
demo: hybrid mesh line width 0.18+0.42 -> 0.10+0.25 (slightly thinner)
facex5920f8a63bea
diff --git a/docs/demo/index.html b/docs/demo/index.htmlindex 50a4123..c1879bd 100644--- a/docs/demo/index.html+++ b/docs/demo/index.html@@ -1304,8 +1304,8 @@ function drawHybrid(pts3d, matchFlag) {const len = Math.hypot(pa[0] - pb[0], pa[1] - pb[1]);if (len > maxEdge) return;const zNorm = 0.5 * (pa[2] + pb[2]); // 0..1, forward=1- const alpha = baseAlpha * 0.65 * (0.15 + 0.85 * zNorm);- ctx.lineWidth = 0.18 + 0.42 * zNorm; // thicker for visibility+ const alpha = baseAlpha * 0.55 * (0.15 + 0.85 * zNorm);+ ctx.lineWidth = 0.10 + 0.25 * zNorm;// Depth-tinted: forward = white (or ID tint), far = light green.const warm = zNorm;const cool = 1 - zNorm;diff --git a/wasm/demo_mesh.html b/wasm/demo_mesh.htmlindex 50a4123..c1879bd 100644--- a/wasm/demo_mesh.html+++ b/wasm/demo_mesh.html@@ -1304,8 +1304,8 @@ function drawHybrid(pts3d, matchFlag) {const len = Math.hypot(pa[0] - pb[0], pa[1] - pb[1]);if (len > maxEdge) return;const zNorm = 0.5 * (pa[2] + pb[2]); // 0..1, forward=1- const alpha = baseAlpha * 0.65 * (0.15 + 0.85 * zNorm);- ctx.lineWidth = 0.18 + 0.42 * zNorm; // thicker for visibility+ const alpha = baseAlpha * 0.55 * (0.15 + 0.85 * zNorm);+ ctx.lineWidth = 0.10 + 0.25 * zNorm;// Depth-tinted: forward = white (or ID tint), far = light green.const warm = zNorm;const cool = 1 - zNorm;