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