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
Remove relaxed SIMD — fix Safari/iOS compatibility
atynov8537f65f64a5
diff --git a/docs/demo/detect.wasm b/docs/demo/detect.wasmindex 0bae3d2..0b61ca6 100644Binary files a/docs/demo/detect.wasm and b/docs/demo/detect.wasm differdiff --git a/docs/demo/facex.js b/docs/demo/facex.jsindex 89fb916..26fa954 100644--- a/docs/demo/facex.js+++ b/docs/demo/facex.js@@ -64,5 +64,5 @@ g.name)throw g;return g.s}},fd_write:function(a,b,c,d){try{a:{var f=Y(a);a=b;forfunction wb(){function a(){e.calledRun=!0;if(!ha){la=!0;e.noFSInit||J.V||Wa();yb.__wasm_call_ctors();J.ga=!1;ja?.(e);e.onRuntimeInitialized?.();if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var b=e.postRun.shift();wa.push(b)}va(wa)}}if(0<R)S=wb;else{if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)ya();va(xa);0<R?S=wb:e.setStatus?(e.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>e.setStatus(""),1);a()},1)):a()}}var yb;yb=await (async function(){function a(c){c=yb=c.exports;e._facex_init=c.facex_init;e._free=c.free;e._facex_embed=c.facex_embed;e._facex_similarity=c.facex_similarity;e._facex_free=c.facex_free;e._facex_version=c.facex_version;e._malloc=c.malloc;tb=c._emscripten_timeout;rb=c._emscripten_stack_restore;pb=c._emscripten_stack_alloc;qb=c.emscripten_stack_get_current;ub=c.memory;c=ub.buffer;D=new Int8Array(c);z=new Int16Array(c);ua=new Uint8Array(c);new Uint16Array(c);C=new Int32Array(c);E=new Uint32Array(c);-sa=new Float32Array(c);ta=new Float64Array(c);ra=new BigInt64Array(c);new BigUint64Array(c);return yb}var b={env:vb,wasi_snapshot_preview1:vb};if(e.instantiateWasm)return new Promise(c=>{e.instantiateWasm(b,(d,f)=>{c(a(d,f))})});ma??=e.locateFile?e.locateFile("facex.wasm",ca):ca+"facex.wasm";return a((await pa(b)).instance)}());wb();la?moduleRtn=e:moduleRtn=new Promise((a,b)=>{ja=a;ka=b});+e.HEAPF32=sa=new Float32Array(c);ta=new Float64Array(c);ra=new BigInt64Array(c);new BigUint64Array(c);return yb}var b={env:vb,wasi_snapshot_preview1:vb};if(e.instantiateWasm)return new Promise(c=>{e.instantiateWasm(b,(d,f)=>{c(a(d,f))})});ma??=e.locateFile?e.locateFile("facex.wasm",ca):ca+"facex.wasm";return a((await pa(b)).instance)}());wb();la?moduleRtn=e:moduleRtn=new Promise((a,b)=>{ja=a;ka=b});;return moduleRtn}})();if(typeof exports==="object"&&typeof module==="object"){module.exports=FaceXModule;module.exports.default=FaceXModule}else if(typeof define==="function"&&define["amd"])define([],()=>FaceXModule);diff --git a/docs/demo/facex.wasm b/docs/demo/facex.wasmindex b064217..568010d 100644Binary files a/docs/demo/facex.wasm and b/docs/demo/facex.wasm differ