Skip to content

Face recognition SDK Ionic plugin with 3D passive liveness detection (Face Detection, Face Landmarks, Face Recognition, Face Liveness, Face Pose, Face Expression, Face attributes)

Notifications You must be signed in to change notification settings

Faceplugin-ltd/FaceRecognition-Ionic-Cordova

Repository files navigation

Hugging Face - Here

Open Source FaceSDK- Here

Documentation- Here

Face Recognition SDK Ionic Cordova Plugin with 3D Passive Liveness Detection - Fully On Premise

Overview

Explore face recognition SDK React Native Plugin from Faceplugin Top-ranked on NIST FRVT , coupled with an advanced iBeta level 2 liveness detection engine that effectively safeguards against printed photos, video replay, 3D masks, and deepfake threats, ensuring top-tier security.
This is on-premise face recognition SDK which means everything is processed in your phone and NO data leaves the device.

Try this APP on Google Play



Awesome Badge Star Badge issue pr

Screenshots

On the Youtube

Install License

  • The code below shows how to use the license:
    constructor(private platform: Platform) {
    this.platform.ready().then(() => {
    console.log('MyApp: init home page');
    if(this.platform.is('android')) {
    if (window.hasOwnProperty('cordova')) {
    console.log('calling cordova api');
    cordova.exec(
    (success: any) => {
    console.log('Success:', success);
    },
    (error: any) => {
    console.error('Error:', error);
    },
    'FacePlugin', // The Java/Kotlin class name
    'set_activation', // The method name defined in Kotlin
    [{"license": "G4cKauk+yONyQz38KfLVwj3tiqjPqqVvvcuZ0lYpNZ0jC9NYCk0UDoou/P3CDI0siKHteEuBbexV" +
    "1lxx9n9cV2dPNonwpbNNy8CzyG9D5oMGzDWDn9G0/xtrgKzV5fqjVMPen0oPSz482s892m/lEP1j" +
    "69qASyR0eJPl5rCvI3xMYTyIt4bjTFv6yW0nKrj0bKsJRDUFHweT3r0hj3kLzPOYZR0pGX+e9sGp" +
    "kO7mdbxLiZ/xI71YEseoqWz4SjtRytHH8XOhgAffSrFzb2n9vGBoI7uHGPvoMihBZfuEFEU5L86T" +
    "szGa0ejUlHS1mKFMP10N4BaEUKLj4HQWce+dRw=="}] // Arguments to pass to the native method
    );
    } else {
    console.warn('Cordova not available');
    }
    } else if(this.platform.is('ios')) {
    if (window.hasOwnProperty('cordova')) {
    console.log('calling cordova api');
    cordova.exec(
    (success: any) => {
    console.log('Success:', success);
    },
    (error: any) => {
    console.error('Error:', error);
    },
    'FacePlugin', // The Java/Kotlin class name
    'set_activation', // The method name defined in Kotlin
    [{"license": "NKBM7HUVvq8rSvdvAR722pdyDUKdHjLouQLPorIL6jbcJ/77KYbawNjqco3Q1Eb8GDxr6co0ufWO" +
    "sWOZUtzbk73iGGCqZPpnmHmSehXM4Dled7ToW0MSRnV6Y28ctGA4VDwKgcwNGzSb987pWaRV9xKV" +
    "h94fLtG8lXpMAeS0LDUSFd+5H7fEAhn6auN9TibPyRu42N4ejgm/Mc3b02cS/acHz443o84deoaU" +
    "LNsmDPhLUMFXyy4ERg2syR/VDQ3Rne0MdtcmpInEIW5CaUSCOgptdI2fnMT5KoDsNPMdhWE0uluo" +
    "/g9VzTc94BmSVm+5vfX817moexqtzN7ubIND0A=="}] // Arguments to pass to the native method
    );
    } else {
    console.warn('Cordova not available');
    }
    }
    });
    }
    Please contact us to get the license.

How To Run

1. Prerequisites

Install Node.js and npm

Download and install Node.js from the official website.

Install Ionic CLI

npm install -g @ionic/cli

Install Cordova CLI

npm install -g cordova

2. Running the Android App

Add FacePlugin to the Project

ionic cordova plugin add ./FacePlugin  

Build the Android App

ionic cordova build android

Add Camera Permission

To allow camera access, add the following permission to the AndroidManifest.xml located at platforms/android/app/src/main:

<uses-permission android:name="android.permission.CAMERA" />

Run the Android App

ionic cordova run android

3. Running the iOS App

Add FacePlugin to the Project

ionic cordova plugin add ./FacePlugin

Add the iOS Platform

ionic cordova platform add ios

Prepare the iOS Project

ionic cordova prepare ios

Add Camera Permission to Info.plist

Open the iOS workspace in Xcode:

open platforms/ios/face-recognition.xcworkspace

And navigate to Info.plist and add the following entry to request camera permission:

<key>NSCameraUsageDescription</key>
<string>We need access to your camera for face recognition.</string>

Build and Run the iOS App

Build the app using Xcode and run it on a real iOS device (not a simulator).

List of our Products

Contact

faceplugin.comfaceplugin.comfaceplugin.com

About

Face recognition SDK Ionic plugin with 3D passive liveness detection (Face Detection, Face Landmarks, Face Recognition, Face Liveness, Face Pose, Face Expression, Face attributes)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published