InsightFace

Face detection, recognition, and analysis toolbox with MIT code but non-commercial model weights.

Open SourceSelf HostedOffline CapableGPU Required (4GB+ VRAM)
0.0 (0)

About

Face detection, landmark alignment, recognition embeddings, and 3D reconstruction all live in this long-running research toolbox led by Jia Guo and Jiankang Deng, best known for the ArcFace loss and the RetinaFace and SCRFD detectors. The repository holds PyTorch and MXNet training recipes, IJB and MegaFace evaluation, and the pip-installable insightface package, which runs ONNX models on CPU, CUDA, or CoreML and fetches model packs automatically. Releases during 2026 added a desktop GUI; PrivateFrame, which blurs or pixelates faces in video entirely on your own machine; an optional RGB liveness check; PersonAnalysis with body re-identification; and InsightFace Server, a self-hosted container with a browser dashboard, REST endpoints, and SQLite-backed face search on Linux CPU or NVIDIA GPU. Licensing needs care: the code is MIT, but the published models and training data are limited to non-commercial research, and commercial use of recognition packs such as buffalo_l, the inswapper face swap models, or the InspireFace SDK requires a paid license. Suited to researchers and to teams prepared to license models for production.

Should you use InsightFace?

Pick it when

Pick InsightFace for research or internal prototypes that need strong face detection, alignment, ArcFace recognition or 3D face reconstruction from one Python package that auto-downloads models, on a GPU.

Look elsewhere when

Skip it for commercial products unless you retrain: the code is MIT but the bundled models and training data are non-commercial research only. For a quicker CPU-friendly API, DeepFace wraps several recognition models.

Alternatives to InsightFace

  • DeepFace

    Simpler API with 11 recognition models, 15 detectors, attributes and anti-spoofing that runs on CPU, but less depth for 3D work or custom training.

  • ArcFace

    The underlying loss for training your own recognition model on licensed data, the way around the non-commercial weights, at much higher effort.

  • MediaPipe

    Apache 2.0 face detection and mesh that runs on phones and the web, but it only locates faces and does no identity recognition.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Minimum VRAM
4 GB
Added
Apr 3, 2026

Tags