face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
13 lines (12 loc) • 334 B
TypeScript
export interface IFaceMatch {
label: string;
distance: number;
}
export declare class FaceMatch implements IFaceMatch {
private _label;
private _distance;
constructor(label: string, distance: number);
get label(): string;
get distance(): number;
toString(withDistance?: boolean): string;
}