Constructors
constructor
- new FaceMatcher(inputs: any, distanceThreshold?: number): FaceMatcher
Parameters
inputs: any
distanceThreshold: number = 0.6
Accessors
distanceThreshold
- get distanceThreshold(): number
Methods
computeMeanDistance
- computeMeanDistance(queryDescriptor: Float32Array, descriptors: Float32Array[]): number
Parameters
queryDescriptor: Float32Array
descriptors: Float32Array[]
Returns number
findBestMatch
- findBestMatch(queryDescriptor: Float32Array): FaceMatch
Parameters
queryDescriptor: Float32Array
matchDescriptor
- matchDescriptor(queryDescriptor: Float32Array): FaceMatch
Parameters
queryDescriptor: Float32Array