UNPKG

@vladmandic/face-api

Version:

FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS

12 lines (11 loc) 448 B
import { IBoundingBox } from './BoundingBox'; import { LabeledBox } from './LabeledBox'; import { IRect } from './Rect'; export declare class PredictedBox extends LabeledBox { static assertIsValidPredictedBox(box: any, callee: string): void; private _score; private _classScore; constructor(box: IBoundingBox | IRect | any, label: number, score: number, classScore: number); get score(): number; get classScore(): number; }