face-api.js
Version:
JavaScript API for face detection and face recognition in the browser with tensorflow.js
10 lines (9 loc) • 354 B
TypeScript
import { IBoundingBox } from './BoundingBox';
import { Box } from './Box';
import { IRect } from './Rect';
export declare class LabeledBox extends Box<LabeledBox> {
static assertIsValidLabeledBox(box: any, callee: string): void;
private _label;
constructor(box: IBoundingBox | IRect | any, label: number);
get label(): number;
}