YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
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%)
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support