UNPKG

react-native-vision-camera-face-detector

Version:

Frame Processor Plugin to detect faces using MLKit Vision Face Detector for React Native Vision Camera!

17 lines 539 B
import type { Face, CommonFaceDetectionOptions } from './FaceDetector'; type InputImage = number | string | { uri: string; }; export interface ImageFaceDetectionOptions { image: InputImage; options?: CommonFaceDetectionOptions; } /** * Detect faces in a static image * * @param {InputImage} image Image path * @returns {Promise<Face[]>} List of detected faces */ export declare function detectFaces({ image, options }: ImageFaceDetectionOptions): Promise<Face[]>; export {}; //# sourceMappingURL=ImageFaceDetector.d.ts.map