Skip to content

armgit / facex

Public Imported from GitHub
0

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.

Increase detect size to 128px for better face detection on mobile

atynov10039492cef2
diff --git a/docs/demo/index.html b/docs/demo/index.html
index b67e712..b326dcd 100644
--- a/docs/demo/index.html
+++ b/docs/demo/index.html
@@ -379,7 +379,7 @@ async function doCapture() {
// WASM fallback — 96px only (160px too slow on mobile)
$('resultBar').textContent = 'Detecting face...';
setTimeout(() => {
- const { faces, detMs } = runDetect(96);
+ const { faces, detMs } = runDetect(128);
finishCapture(faces, detMs);
}, 50);
}