Skip to main content

Module onnx_session

Module onnx_session 

Source
Expand description

Optional ONNX Runtime session (feature ort).

Without the feature, loaders report AdapterMissing. With ort, sessions load PermissiveReady weights from vendor/vision.

Structs§

OnnxSessionInfo
Metadata after a successful session open (always available for tests).

Enums§

OnnxSessionError

Functions§

probe_onnx_asset
Open-session probe: resolves path; with ort also creates Session.
sface_infer_rgb8
SFace: resize face crop to 112x112, run embed, write 128 floats.
yunet_infer_rgb8
Run YuNet ONNX if feature ort; returns flat decoded rows for yunet_decode_detections. Without ort: FeatureDisabled.