UNPKG

face-api.js

Version:

JavaScript API for face detection and face recognition in the browser with tensorflow.js

6 lines (5 loc) 435 B
import { IBoundingBox, IRect } from '../classes'; import { FaceDetection } from '../classes/FaceDetection'; import { WithFaceDetection } from '../factories/WithFaceDetection'; export declare type TDrawDetectionsInput = IRect | IBoundingBox | FaceDetection | WithFaceDetection<{}>; export declare function drawDetections(canvasArg: string | HTMLCanvasElement, detections: TDrawDetectionsInput | Array<TDrawDetectionsInput>): void;