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
fix: drop 'static' from conv2d_hwc_reorder_weights so v2 engine can link to it (#5)
facex001e9fc30fa0
diff --git a/src/edgeface_engine.c b/src/edgeface_engine.cindex 1b19781..2255586 100644--- a/src/edgeface_engine.c+++ b/src/edgeface_engine.c@@ -451,7 +451,7 @@ static void xca_block(float* x_hwc, int H, int W, int C,* AVX2 optimized: vectorize across output channels (Cout). *//* conv2d_hwc with pre-transposed weights in [Cin*KK, Cout] layout.* At load time, call conv2d_hwc_reorder_weights() to transpose OIHW → [Cin*KK, Cout]. */-static void conv2d_hwc_reorder_weights(float* w, int Cout, int Cin, int KK) {+void conv2d_hwc_reorder_weights(float* w, int Cout, int Cin, int KK) {/* In-place transpose from [Cout, Cin*KK] to [Cin*KK, Cout] */float* tmp = (float*)malloc((size_t)Cout * Cin * KK * sizeof(float));memcpy(tmp, w, (size_t)Cout * Cin * KK * sizeof(float));