Face Analysis
Services & Licensing
for Enterprise
InsightFace provides world-leading face analysis solutions — from face recognition and face swapping model licensing to cross-platform SDK and custom AI services. Deploy state-of-the-art face AI in your product with commercial confidence.
1import insightface2import cv234# Face Recognition5app = insightface.app.FaceAnalysis('buffalo_l')6app.prepare(ctx_id=0, det_size=(640, 640))7img = cv2.imread('photo.jpg')8faces = app.get(img)9print(faces[0].embedding.shape)1011# Face Swapping12swapper = insightface.model_zoo.get_model(13 'inswapper_128.onnx')14res = swapper.get(img, faces[0], faces[1])15cv2.imwrite('swapped.jpg', res)Trusted by teams building the next generation of face AI
Solutions
Everything you need for
production face AI
Comprehensive face analysis solutions — from model licensing and face swapping to cross-platform SDK and custom AI cooperation. Each backed by state-of-the-art peer-reviewed research.
Face Recognition Model Licensing
Commercial licensing for InsightFace open-source model packages (buffalo_l, antelopev2, buffalo_s, buffalo_m, etc.) and proprietary high-accuracy models. From research to production deployment with full legal compliance.
Read DetailFace Swapping
The open-source InSwapper-128 model has become the de facto standard for open-source face swapping, delivering the best quality results. We also offer commercial licensing and access to proprietary high-accuracy models and mobile real-time face swapping via commercial API.
Read DetailInspireFace SDK
Cross-platform C/C++ face recognition SDK with built-in anti-spoofing and liveness detection. Commercial licensing with dedicated technical support for Linux, Android, iOS, macOS, and embedded devices.
Read DetailAI Technical Cooperation
Custom AI solutions, model training, consulting, and commercial services for enterprises requiring tailored face analysis technology and deep technical cooperation.
Read DetailLicensing & Pricing
License models, ship with confidence
From open-source research to production deployment — choose the licensing option that fits your business needs.
Open Source
For research and non-commercial projects
- Code released under MIT License — free for commercial use
- Pre-trained models for non-commercial academic research only
- Commercial use of models requires contacting us for a commercial license
- Python package (insightface) available on PyPI
- Community support via GitHub Issues
- Web demos access
Model Licensing
Commercial licensing for face recognition and face swapping models
- Face recognition model commercial license (buffalo_l, antelopev2, buffalo_s, etc.)
- InSwapper-128 face swapping commercial license
- Closed-source high-accuracy models available
- Production deployment rights
- Email support
- License compliance guidance
Enterprise & API
Full suite with API access, SDK, and dedicated support
- Everything in Model Licensing
- High-accuracy face swap API access
- Mobile real-time face swap model access
- InspireFace C/C++ SDK commercial license
- Priority SLA & dedicated engineering
- Custom model training & AI consulting
Integration
Ship in minutes, not months
Whether you prefer Python, C++, or REST — InsightFace integrates into your stack with minimal friction.
Python Package
pip install insightface — start analyzing faces in 3 lines of code.
pip install insightface onnxruntime-gpu
# That's it. You're ready.
from insightface.app import FaceAnalysis
app = FaceAnalysis('buffalo_l')
app.prepare(ctx_id=0)InspireFace C/C++ SDK
Native SDK for mobile and embedded devices. One API across all platforms.
// Initialize the SDK
HResult ret = HFLaunchInspireFace(path);
// Create a session
HFSession session;
HFCreateInspireFaceSession(&session, mode);
// Detect and recognize
HFDetectFaces(session, image, &faces);
HFExtractFeature(session, image, face, &feature);REST API
Enterprise-grade REST API service supporting high-precision face swapping models and high-precision private face recognition models. Integrate face AI via simple HTTP calls.
# Make an API call
curl -X POST https://api.insightface.ai/extract \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-F "image=@photo.jpg" \
-F "return_face_data=true"Research & Publications
Backed by world-class research
Published at top-tier academic venues. Every algorithm in InsightFace is peer-reviewed and reproducible.
ArcFace: Additive Angular Margin Loss
CVPR 2019
The foundational loss function for face recognition, setting new benchmarks on all major datasets.
RetinaFace: Single-Shot Multi-Level Face Localisation
CVPR 2020
Practical single-stage face detector with joint face detection and landmark localization.
SCRFD: Sample & Computation Redistribution for Efficient Face Detection
ICLR 2022
Efficient high-accuracy face detection with NAS-based architecture search.
Partial FC: Training 10 Million Identities on a Single Machine
CVPR 2022
Scalable training strategy enabling face recognition with massive identity pools.
Sub-center ArcFace: Boosting Face Recognition by Large-scale Noisy Web Faces
ECCV 2020
Handling noisy training data by learning multiple sub-centers per class.
Achievements
Competition winners
NIST FRVT
Top Performer on VISA and Wild Tracks
ECCV 2022 WCPA — Rank #1
3D Face Reconstruction Challenge
ICCV 2021 MFR Challenge
Masked Face Recognition Workshop
Open Source Codebase
InsightFace's code is released under the MIT License with no limitations for commercial usage. Pre-trained models are for non-commercial research only — contact us for commercial model licensing.
View on GitHubBlog
Latest Insights
Stay up to date with the latest developments in face AI technology, research, and applications.
Insights on Threats and Solutions in Facial AI
An examination of current threats related to facial AI — including privacy issues, biases, and misuse — and modern solutions to address them.
The Evolution of Facial Attribute Analysis Using Neural Networks
Tracing the development of facial attribute analysis from basic geometry to deep neural networks capable of estimating age, gender, emotion, and more.
The Evolution of Face Detection: From Handcrafted Features to Deep Learning Frameworks
Chronicles the journey from traditional face detection methods to modern deep learning frameworks like RetinaFace and SCRFD.
Ready to deploy the world's best face AI?
Whether you need face recognition model licensing, face swapping commercial rights, InspireFace SDK, or custom AI cooperation — reach out to get started.
We only accept inquiries from business email addresses.