Downloads · 30 days
84
8% of all-time downloads
leeyunjai/yolo11-face-emotion-fer2013-cls
yolo11-face-emotion-fer2013-cls is a image classification model from leeyunjai. Use it when you need a label for an image. It is set up for ultralytics.
To use this model in your project, follow the steps below:
Downloads · 30 days
84
8% of all-time downloads
All-time downloads
1.1K
Public
Repo size
58.9 MB
Likes
2
Public
Click a slice to open those files.
.pt57.1 MB · 96%
From the Hugging Face model README
To use this model in your project, follow the steps below:
Ensure you have the ultralytics library installed, which is used for YOLO models:
pip install ultralytics
# classs
angry
disgusted
fearful
happy
neutral
sad
surprised
You can load the model and perform detection on an image as follows:
from ultralytics import YOLO
# Load the model
model = YOLO("./feryolo-11x-64.pt")
# Perform detection on an image
results = model("image.png")
# Display or process the results
results.show() # This will display the image with detected objects
The results object contains bounding boxes, labels (e.g., numbers or operators), and confidence scores for each detected object.
Access them like this:
# View results
for r in results:
print(r.probs) # print the Probs object containing the detected class probabilities
