UNPKG

@timebutt/face-api.js

Version:

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

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