UNPKG

@face-detector/react-face-detection

Version:

Face Detector Web SDK React Components and Hooks Package

10 lines (9 loc) 542 B
import { ReactFaceDetectorConfig } from '../types/config'; export interface FaceDetectorProviderProps { config?: ReactFaceDetectorConfig; children: React.ReactNode; onVideoReady?: (videoElement: HTMLVideoElement) => void; onCanvasReady?: (extractingCanvasElement: HTMLCanvasElement) => void; onStreamReady?: (stream: MediaStream) => void; } export declare const FaceDetectorProvider: ({ config, children, onVideoReady, onCanvasReady, onStreamReady }: FaceDetectorProviderProps) => import("react/jsx-runtime").JSX.Element;