backends
backends
Classes
| Name | Description |
|---|---|
| ONNXOnlyBackend | ONNX-only face pipeline using insightface model_zoo components. |
| PoseAngles | Normalized internal head pose representation, in degrees. |
ONNXOnlyBackend
backends.ONNXOnlyBackend(
model_name,
allowed_modules,
providers,
ctx_id,
det_size,
det_thresh,
models_root,
)ONNX-only face pipeline using insightface model_zoo components.
Attribution
This implementation is adapted from InsightFace’s MIT-licensed code, primarily: - insightface.app.face_analysis.FaceAnalysis (pipeline pattern) - insightface.model_zoo.scrfd.SCRFD (detector) - insightface.utils.face_align (alignment)
PoseAngles
backends.PoseAngles(pitch, yaw, roll)Normalized internal head pose representation, in degrees.
Methods
| Name | Description |
|---|---|
| as_array | Return the legacy [pitch, yaw, roll] representation. |
as_array
backends.PoseAngles.as_array()Return the legacy [pitch, yaw, roll] representation.