UNPKG

nexus-react-core

Version:

A comprehensive React toolkit with services, hooks, and Redux store management

14 lines 674 B
export interface BlazeFaceModel { estimateFaces: (input: HTMLVideoElement | HTMLImageElement | HTMLCanvasElement, returnTensors?: boolean) => Promise<any[]>; } export interface TensorFlowJS { setBackend: (name: string) => Promise<boolean>; ready: () => Promise<void>; } export interface BlazeFaceModule { load: () => Promise<BlazeFaceModel>; } export declare const setFaceDetectionDependencies: (tensorFlow: TensorFlowJS, blazeFaceModule: BlazeFaceModule) => void; export declare function initializeFaceDetector(): Promise<boolean>; export declare function detectFace(video: HTMLVideoElement): Promise<any | null>; //# sourceMappingURL=faceDetection.d.ts.map