UNPKG

@vladmandic/face-api

Version:

JavaScript module for Face Detection and Face Recognition Using Tensorflow/JS

6 lines (5 loc) 430 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;