Expand description
SFace embedding from a caller-supplied float tensor (runtime-agnostic).
Weight: OpenCV Zoo SFace Apache-2.0 (PermissiveReady). Embedding is for sanctuary template vault — never packed into NQuin payloads.
Constants§
- SFACE_
EMBED_ DIM - SFace typically emits 128-d float features.
Functions§
- sface_
cosine - Cosine similarity for two L2-normalized embeddings.
- sface_
embed_ from_ tensor - Copy and L2-normalize embedding into
out(must be ≥ SFACE_EMBED_DIM).