UNPKG

react-native-vision-camera-face-detector

Version:

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

26 lines 1.1 kB
import type { CameraOutput } from 'react-native-vision-camera'; import type { FaceDetector } from './specs/FaceDetector.nitro'; import type { ImageFaceDetector } from './specs/ImageFaceDetector.nitro'; import type { FaceDetectorOptions, FaceDetectorOutputOptions } from './specs/FaceDetectorFactory.nitro'; /** * Create a new {@linkcode FaceDetector}. * * The {@linkcode FaceDetector} can be used to * scan {@linkcode Face}s in a {@linkcode Frame}. */ export declare function createFaceDetector(options?: FaceDetectorOptions): FaceDetector; /** * Create a new {@linkcode FaceDetector}. * * The {@linkcode FaceDetector} can be used to * scan {@linkcode Face}s in a {@linkcode Frame}. */ export declare function createFaceDetectorOutput(options: FaceDetectorOutputOptions): CameraOutput; /** * Create a new image {@linkcode ImageFaceDetector}. * * The {@linkcode ImageFaceDetector} can be used to * scan {@linkcode Face}s in a {@linkcode Frame}. */ export declare function createImageFaceDetector(options?: FaceDetectorOptions): ImageFaceDetector; //# sourceMappingURL=factory.d.ts.map