livenessdetection
v1.1.5
Published
A Liveness Detection Platform
Downloads
1,010
Readme
This is a new [Liveness Detection]project
Getting Started
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
Step 1: Install neccessary dependencies
# using npm
npm install react-native-vision-camera
npm install react-native-vision-camera-face-detector
npm install react-native-worklets-core
npm install react-native-fs
npm install axios
Make sure you add this in your babel file
plugins: [
[
'react-native-worklets-core/plugin',
],
],
Please do this before running the npx react-native run-android
Then do the following
Step 2: Install the Liveness Detection Package
Then install this package
npm install livenessdetection
Step 3: Use the Liveness Detection Image
<LivenessDetection image = '' appKey='base64image' onResponse={handleCapture} onFailure={handleFailure} />
Use the liveness detection like this
Step 4: Start your Application
npm start -- --reset-cache
npx react-native run-android