Git Product home page Git Product logo

recognito-vision / android-facerecognition-facelivenessdetection Goto Github PK

View Code? Open in Web Editor NEW
218.0 5.0 73.0 33.6 MB

NIST_FRVT Top 1🏆 Face Recognition, Liveness Detection(Face Anti-Spoof) Android SDK Demo ☑️ Face Recognition ☑️ Face Liveness Detection ☑️ Face Pose Estimation

Home Page: https://recognito.vision/

Kotlin 56.86% Java 43.14%
ekyc-verification face-antispoofing face-compare face-identification face-liveness face-liveness-detection face-matching face-recognition face-recognition-api face-recognition-application

android-facerecognition-facelivenessdetection's Introduction

recognito.vision

Face Recognition, Liveness Detection, Pose Estimation Android SDK Demo

nist frvt top1

Latest NIST FRVT Report

This repository contains a demonstration of Recognito's face recognition SDK for Android. The SDK includes advanced features such as face recognition, liveness detection, and pose estimation. Recognito's face recognition algorithm has been ranked as the Top 1 in the NIST FRVT (Face Recognition Vendor Test).

Our Product List for ID verification.

home RECOGNITO Product Documentation

  

feature Features

  • Face Recognition: Identify and verify individuals by comparing their facial features.
  • Liveness Detection: Determine whether a face is live or spoofed to prevent fraud in authentication processes.
  • Pose Estimation: Estimate the pose of a detected face, including Yaw, Roll, Pitch

- Additional Features

  • NIST FRVT Top 1 Algorithm: Utilize the top-ranked face recognition algorithm from the NIST FRVT for accurate and reliable results.
  • On-premise: Operate entirely within your infrastructure, ensuring data privacy and security.
  • Real-time: Perform face recognition, liveness detection, and pose estimation with minimal latency.
  • Fully-offline: Function without the need for an internet connection, ensuring reliability and data privacy.

youtube Demo Video

Recognito Youtube Channel: youtube.com/@recognito-vision

face recognition, liveness detection android demo snap 1 face recognition, liveness detection android demo snap 2 face recognition, liveness detection android demo snap 3 face recognition, liveness detection android demo snap 4 face recognition, liveness detection android demo snap 5 face recognition, liveness detection android demo snap 6

face recognition, liveness detection android apk download Download APK

face recognition, liveness detection android demo download

face recognition, liveness detection android SDK API SDK Integration

To use the Recognito SDK in your Android project, follow these steps:

1. Add libfacesdk into the project

2. Application License (One-Time License)

  • For trial license, share your application ID.

    android {
    namespace 'com.bio.facerecognition'
    compileSdk 33
    defaultConfig {
    applicationId "com.bio.facerecognition"
    minSdk 24
    targetSdk 33
    versionCode 4
    versionName "1.3"

    www.recognito.vision     www.recognito.vision     www.recognito.vision     www.recognito.vision
  • Add your license to assets/license file:

    BsTr9o4f4R/rM3TxbCWVb/hrOJuOIdz8ArQ/t2IgQFFUQzGHOLNNaMJiK/fUfr5zo005zoTA/cm6
    VoZ6iGl+/hZGA3R5T/VWwhxekbw8JVz9sNesU6rMG5+1cNSN75trH2tpzdCPZ28ZDnZlttmiuUoC
    9QazRe1xKi5tUXa+xgIxzL0vE6UW2dLKWaEXjn3fSJfLxXWw0q+UZP0hQAXb5Y9Yl/NVi7y3d0xT
    Vq6/weuMQkgLcNdLqFRvQXup0M9W/pvuhaubySAxHCKVY8wToygN2iM78cOkyyAbGVwZeGQP0Jfd
    46VZo+w+KCNw355j3osVVMghrOcVZnfbp1dNyg==

  • Initialize SDK with license.

    val license_str = application.assets.open("license").bufferedReader().use{
    it.readText()
    }
    var ret = FaceSDK.setActivation(license_str)
    if (ret == FaceSDK.SDK_SUCCESS) {
    ret = FaceSDK.init(assets)
    }

    Initialization status codes:

    Code Status
    0 Activate SDK successfully
    -1 License Key Error
    -2 License AppID Error
    -3 License Expired
    -4 Activate Error
    -5 Init SDK Error

3. APIs of SDK

- Activate SDK
public static native int setActivation(String var0);

Parameters

  • var0: The license string.
  • Return Value: An integer representing the SDK activation status code.

- Initiate SDK
public static native int init(AssetManager var0);

Parameters

  • var0: An instance of AssetManager used to access application assets.
  • Return Value: An integer representing the initialization status code.

- Convert YUV camera frame to Bitmap image
public static native Bitmap yuv2Bitmap(byte[] nv21, int width, int height, int orientation);

Parameters

  • nv21: Byte array representing the YUV image data in NV21 format.

  • width: Width of the image.

  • height: Height of the image.

  • orientation: Orientation of the image

    Value Orientation
    1 No processing
    2 Flip horizontally
    3 Flip horizontally first and then flip vertically
    4 vertical flip
    5 transpose
    6 Rotate 90° clockwise
    7 Horizontal and vertical flip --> transpose
    8 Rotate 90° counterclockwise
  • Return Value: A Bitmap object representing the converted image.


- Detect Face
public static native List<FaceBox> faceDetection(Bitmap var0, FaceDetectionParam var1);

Parameters

  • var0: The Bitmap image.
  • var1: Parameters for face detection
public class FaceDetectionParam {
    public boolean check_liveness = false;
    public int check_liveness_level = 0; // 0: more accurate model, 1: lighter model
}
  • Return Value: A list of FaceBox objects representing the detected faces.
public class FaceBox {
    public int x1;
    public int y1;
    public int x2;
    public int y2;
    public float liveness;
    public float yaw;
    public float roll;
    public float pitch;
}

- Extract face feature
public static native byte[] templateExtraction(Bitmap var0, FaceBox var1);

Parameters

  • var0: The Bitmap image
  • var1: The bounding box (FaceBox) of the detected face.
  • Return Value: A byte array representing the extracted template from the face.

- Calculate similarity between two face features
public static native float similarityCalculation(byte[] var0, byte[] var1);

Parameters

  • var0: The byte array representing the first face template.
  • var1: The byte array representing the second face template.
  • Return Value: A float value representing the similarity score between the two face templates.

contact Support

For any questions, issues, or feature requests, please contact our support team.

www.recognito.vision     www.recognito.vision     www.recognito.vision     www.recognito.vision

                           

android-facerecognition-facelivenessdetection's People

Contributors

hassan-recognito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.