Downloads · 30 days
0
ktalpay/sightops-age-gender
sightops-age-gender is a image classification model from ktalpay. Use it when you need a label for an image. The card lists the license as mit.
This ONNX-based model performs age group and gender classification in real time. Optimized for Raspberry Pi 5 and ONNX Runtime.
Downloads · 30 days
0
Access
Public
Updated Oct 8, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 63%
From the Hugging Face model README
This ONNX-based model performs age group and gender classification in real time.
Optimized for Raspberry Pi 5 and ONNX Runtime.
import onnxruntime as ort, cv2, numpy as np
session = ort.InferenceSession("model_age.onnx")
inp = session.get_inputs()[0].name
out = session.get_outputs()[0].name
img = cv2.imread("test.jpg")
img = cv2.resize(img, (224,224)).astype(np.float32)[None,:,:,:]
pred = session.run([out], {inp: img})