Skip to main content

Module sface_embed_from_tensor

Module sface_embed_from_tensor 

Source
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).