@react-native-ml-kit/face-detection

1.3.2 • Public • Published

@react-native-ml-kit/face-detection

React Native On-Device Face Detection w/ Google ML Kit

Getting started

npm install @react-native-ml-kit/face-detection --save

Linking

React Native > 0.59

CLI autolink feature links the module while building the app.

React Native <= 0.59

react-native link @react-native-ml-kit/face-detection

Installing Pods

On iOS, use CocoaPods to add the native RNMLKitFaceDetection to your project:

npx pod-install

Usage

import FaceDetection from '@react-native-ml-kit/face-detection';

const faces = FaceDetection.detect(imageURL, { landmarkMode: 'all' });

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @react-native-ml-kit/face-detection

    Weekly Downloads

    814

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    42.5 kB

    Total Files

    26

    Last publish

    Collaborators

    • a7medev