react-native-vision-camera-v3-face-detection
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Frame processor plugin to detect faces using Google ML Kit library for react-native-vision-camera with high performance and many options.

🚨 Required Modules

react-native-vision-camera => 3.9.0
react-native-worklets-core = 0.4.0

💻 Installation

npm install react-native-vision-camera-v3-face-detection
yarn add react-native-vision-camera-v3-face-detection

👷Features

Easy To Use.
Works Just Writing few lines of Code.
Works With React Native Vision Camera.
Works for Both Cameras.
Works Fast.
Works With Android 🤖 and IOS.📱
Writen With Kotlin and Objective-C.

💡 Usage

import { Camera } from 'react-native-vision-camera-v3-face-detection';

const [faces,setFaces] = useState(null)

console.log(faces)

<Camera
  options={{
        performanceMode: 'fast',
    }}
  style={StyleSheet.absoluteFill}
  device={device}
  callback={(data) => setFaces(data)}
  {...props}
/>

⚙️ Options

Name Type Values Default
performanceMode String fast, accurate fast
classificationMode String none, all none
landmarkMode String none, all none
contourMode String none, all none
trackingEnabled Boolean false, true false
minFaceSize Number 0 0.1

/react-native-vision-camera-v3-face-detection/

    Package Sidebar

    Install

    npm i react-native-vision-camera-v3-face-detection

    Weekly Downloads

    22

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    43.1 kB

    Total Files

    32

    Last publish

    Collaborators

    • gev2002