Skip to content

Licenses & Attribution

UniFace License

UniFace is released under the MIT License.

That licence covers UniFace's own source code. It does not cover the pretrained weights, which are third-party artifacts downloaded on first use and governed by their upstream terms. Several of them prohibit commercial use — check the Weights column below before shipping.


Model Credits

Model Source Code Weights
RetinaFace yakhyo/retinaface-pytorch; RESNET50 weights from HivisionIDPhotos MIT Follows source; RESNET50 Apache-2.0
SCRFD InsightFace MIT Non-commercial3
CenterFace Star-Clouds/CenterFace MIT Follows source
BlazeFace yakhyo/mediapipe-face-mesh-onnx — architecture & weights from Google MediaPipe Apache-2.0 Apache-2.0
YOLOv5-Face yakhyo/yolov5-face-onnx-inference, original implementation deepcam-cn/yolov5-face GPL-3.0 Follows source
YOLOv8-Face yakhyo/yolov8-face-onnx-inference, original implementation derronqi/yolov8-face GPL-3.0 Follows source
AdaFace yakhyo/adaface-onnx — architecture & weights from mk-minchul/AdaFace MIT MIT
ArcFace InsightFace MIT Non-commercial3
AuraFace yakhyo/auraface-onnx, architecture & weights from fal/AuraFace-v1 Apache-2.0 Apache-2.0
EdgeFace yakhyo/edgeface-onnx — architecture & weights from otroshi/edgeface, Idiap Research Institute BSD-3-Clause Conflicting: BSD-3-Clause in the GitHub repo, CC BY-NC-SA 4.0 on Hugging Face1
HyperFace yakhyo/hyperface-onnx, architecture & weights from Idiap/HyperFace-50k-StyleGAN MIT MIT
MobileFace yakhyo/face-recognition MIT Follows source
SphereFace yakhyo/face-recognition MIT Follows source
BiSeNet yakhyo/face-parsing MIT Follows source
MobileGaze yakhyo/gaze-estimation MIT Follows source
HeadPose yakhyo/head-pose-estimation MIT Follows source
XSeg yakhyo/face-segmentation, model from iperov/DeepFaceLab GPL-3.0 GPL-3.0
MODNet yakhyo/modnet Apache-2.0 Apache-2.0
PP-Matting yakhyo/ppmatting Apache-2.0 Apache-2.0, training data undocumented upstream
MiniFASNet yakhyo/face-anti-spoofing Apache-2.0 Apache-2.0
FairFace yakhyo/fairface-onnx MIT CC BY 4.0
Emotion SainingZhang/DDAMFN None stated No licence stated upstream2
eDifFIQA yakhyo/face-image-quality-assessment, model from LSIbabnikz/eDifFIQA MIT MIT
AgeGender InsightFace — genderage from the buffalo packs MIT Non-commercial3
FaceAttribNet yakhyo/face-attribute — architecture & weights © Qualcomm Technologies, Inc. (qualcomm/ai-hub-models) BSD-3-Clause BSD-3-Clause
PIPNet yakhyo/pipnet-onnx — meanface tables vendored from jhb86253817/PIPNet MIT Follows source
Landmark106 InsightFace — 2d106det MIT Non-commercial3
Face Mesh yakhyo/mediapipe-face-mesh-onnx — topology & weights from Google MediaPipe, V1_468 weights via PINTO0309's ONNX conversion, V2_478 weights read from Google's face_landmarker.task; tessellation tables vendored from MediaPipe Apache-2.0 Apache-2.0

Rows marked Follows source

We have not identified weights terms separate from the source project's licence, so the source project's terms apply.

Training-data provenance

Separately from the licences above, many face models are trained on datasets whose own terms restrict use to non-commercial research — WebFace260M (AdaFace, EdgeFace), WIDER FACE (most detectors), MS-Celeb-1M. Except where noted above, the upstream authors released these weights under the permissive licences listed here and state no further restriction, and this page does not attempt to judge whether a dataset's terms reach you as a downstream recipient of the weights. If you are deploying commercially, do your own diligence.


Non-commercial weights

These weights cannot be used commercially under their upstream terms, even though UniFace itself is MIT and the upstream code is permissive.

InsightFace — SCRFD, ArcFace, AgeGender, Landmark106

The code of InsightFace is released under the MIT License. There is no limitation for both academic and commercial usage.

The training data containing the annotation (and the models trained with these data) are available for non-commercial research purposes only.

— deepinsight/insightface

ArcFace's w600k_r50 is the buffalo_l recognition model. InsightFace directs commercial licensing enquiries for it to recognition-oss-pack@insightface.ai.


Unclear terms: EdgeFace and Emotion

Two models do not have clear terms for commercial use. Treat them as non-commercial unless you have confirmed otherwise with the authors.

  • EdgeFace: the otroshi/edgeface GitHub repository is BSD-3-Clause, but Idiap's Hugging Face releases of the same models (for example Idiap/EdgeFace-Base) are CC BY-NC-SA 4.0, which prohibits commercial use.
  • Emotion: the SainingZhang/DDAMFN repository has no licence file and its README states no licence, so no permission is granted by default. The model is trained on AffectNet, which is distributed for research use.

  1. See Unclear terms. ↩

  2. See Unclear terms. ↩

  3. InsightFace's code is MIT, but models trained on their data are for non-commercial research only. See Non-commercial weights. ↩↩↩↩