FaceMatcher

class FaceMatcher(val threshold: Double = 0.3)

Decides whether two embeddings show the same person.

Constructors

Link copied to clipboard
constructor(threshold: Double = 0.3)

Properties

Link copied to clipboard

cosine-similarity cut-off. There is no universal value: it depends on the model and on how different the sources are (a selfie vs. a small, laminated KTP portrait scores lower than two selfies). Calibrate against your own genuine/impostor pairs to reach your target false-accept rate.

Functions

Link copied to clipboard