talmago/face.onnx
By talmago · ↓ 0 · ♥ 0 · Updated 2025-07-10
What's in this repo
This page lists the files in talmago/face.onnx, including age_efficientnet_b2.onnx, emotion_cnn.onnx, facenet_512.onnx and more.
- 6 ONNX models (.onnx files)
- 10 files, including 6 .onnx, 2 .py, 1 .md
- Last updated 2025-07-10
ONNX files
| File | Size | Download |
|---|---|---|
| onnx/age_efficientnet_b2.onnx | — | Download |
| onnx/emotion_cnn.onnx | — | Download |
| onnx/facenet_512.onnx | — | Download |
| onnx/fairface_multi7.onnx | — | Download |
| onnx/gender_efficientnet_b2.onnx | — | Download |
| onnx/retinaface.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Face ONNX
ONNX Face Recognition & Estimators models.
Forked from FaceONNX.
| Model | Description |
|---|---|
retinaface.onnx |
Detects faces and five facial landmarks (eyes, nose, mouth corners) using the RetinaFace architecture. Required as a preprocessing step for other models. |
age_efficientnet_b2.onnx |
Predicts the estimated age of a person from a face image. Outputs a continuous value (e.g., 25.3 years). |
gender_efficientnet_b2.onnx |
Classifies gender as Male or Female from a face image. Outputs probability scores for both. |
emotion_cnn.onnx |
Predicts the emotion expressed in a face image. Outputs probabilities over 7 classes: Neutral, Happiness, Surprise, Sadness, Anger, Disgust, and Fear. |
Usage
Run detection
$ python detect_face.py image.png
Output:
🧠 Detected face at [x=124, y=440, w=116, h=161]
📊 Age: 25.5
📊 Gender: Man (M: 100.0%, F: 0.0%)
Files (10)
.gitattributes
README.md
detect_face.py
export_facenet_onnx.py
onnx/age_efficientnet_b2.onnx
ONNX
onnx/emotion_cnn.onnx
ONNX
onnx/facenet_512.onnx
ONNX
onnx/fairface_multi7.onnx
ONNX
onnx/gender_efficientnet_b2.onnx
ONNX
onnx/retinaface.onnx
ONNX
Related models
More from talmago
More models
No task type declared.