A self-hosted web file manager with AI-powered biometric login — face recognition with liveness detection and gaze tracking, connected to a private SMB NAS, accessible from any browser.
Computer Vision Core
WebRTC live framefacenet_pytorchMediaPipe irisSilent-Face CNNInceptionResnetV1facenet_pytorch MTCNN runs a 3-stage cascade (P-Net → R-Net → O-Net) to detect, align, and crop the face region before encoding — handles off-angle and partial occlusion.InceptionResnetV1 extracts a 512-dim face embedding. Runs under torch.no_grad(). Each user's embedding is stored as a .npy file.FaceMesh refine landmarks extract iris center (indices 469–477). If iris X position falls outside 0.25–0.75 normalized range, access is denied.0.75. Logs all scores for observability.{name}.npy. SMB credentials encrypted with Fernet, bound to face profile.What It Does
zipstream — zero temp files, minimal disk usage on server.System Design
Technology