Constructors
constructor
-
Parameters
-
-
Default value distanceThreshold: number = 0.6
Accessors
distanceThreshold
- get distanceThreshold(): number
-
Returns number
labeledDescriptors
-
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