5 lines
452 B
TypeScript
5 lines
452 B
TypeScript
import { IBoundingBox, IRect } from 'tfjs-image-recognition-base';
|
|
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;
|