Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

iBeta (Level 2) Certified, Single-Image Based Face Liveness Detection (Face Anti Spoofing) Server SDK

NotificationsYou must be signed in to change notification settings

MiniAiLive/FaceLivenessDetection-SDK-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to theMiniAiLive!

A 100% spoofing-prevention rate for both 3D printed and resin facial masks, confirms MiniAiLive® as a leading facial recognition solution for preventing biometric fraud in remote applications, such as online banking, requiring identity verification before granting access to sensitive data or valuable assets. Feel free to use our MiniAI 3D Face Passive Liveness Detection (face anti-spoofing) Linux SDK.

Note

SDK is fully on-premise, processing all happens on hosting server and no data leaves server.

Table of Contents

Face-LivenessSDK Installation Guide

Prerequisites

  • Python 3.6+
  • Linux
  • CPU: 2 cores or more
  • RAM: 8 GB or more

Installation Steps

  1. Download the Face Liveness Detection Linux Server Installer:

    Download the Server installer for your operating system from the following link:

    Download the On-premise Server Installer

  2. Install the On-premise Server:

    Run the installer and follow the on-screen instructions to complete the installation. Go to the Download folder and run this command.

    $cd Download$ sudo dpkg -i --force-overwrite MiniAiLive-FaceLiveness-LinuxServer.deb
MiniAiLive Installer

You can refer our Documentation here.https://docs.miniai.live

  1. Request License and Update:

    You can generate the License Request file by using this command:

    $cd /opt/mini-faceliveness/$ sudo ./MiRequest request /home/ubuntu/Download/trial_request.miq
MiniAiLive Installer

Then you can see the license request file on your directory, and send it to us via email or WhatsApp. We will send the license based on your Unique Request file, then you can upload the license file to allow to use. Refer the below images.

$ sudo ./MiRequest update /home/ubuntu/Download/Faceliveness_trial_linux.mis
MiniAiLive Installer
  1. Verify Installation:

    After installation, verify that the On-premise Server is correctly installed by using this command:

    $ systemctl list-units --state running

    If you can see 'Mini-faceliveness-svc.service', the server has been installed successfully. Refer the below image.

MiniAiLive Installer

Face-LivenessSDK API Details

Endpoint

  • POST http://127.0.0.1:8092/api/check_liveness Face Liveness Detection API
  • POST http://127.0.0.1:8092/api/check_liveness_base64 Face Liveness Detection API

Request

  • URL:http://127.0.0.1:8092/api/check_liveness
  • Method:POST
  • Form Data:
    • image: The image file (PNG, JPG, etc.) to be analyzed. This should be provided as a file upload.
Screenshot 2024-07-16 at 5 12 01 AM
  • URL:http://127.0.0.1:8092/api/check_liveness_base64
  • Method:POST
  • Raw Data:
    • JSON Format:{"image": "--base64 image data here--"}
Screenshot 2024-07-16 at 5 11 34 AM

Response

The API returns a JSON object with the liveness result of the input face image. Here is an example response:

Gradio Demo

We have included a Gradio demo to showcase the capabilities of our Face Liveness Detection SDK. Gradio is a Python library that allows you to quickly create user interfaces for machine learning models.

How to Run the Gradio Demo

  1. Install Gradio:

    First, you need to install Gradio. You can do this using pip:

    git clone https://github.com/MiniAiLive/FaceLivenessDetection-Linux.gitpip install -r requirement.txtcd gradio
  2. Run Gradio Demo:

    python app.py

Python Test API Example

To help you get started with using the API, here is a comprehensive example of how to interact with the Face Liveness Detection API using Python. You can use API with another language you want to use like C++, C#, Ruby, Java, Javascript, and more

Prerequisites

  • Python 3.6+
  • requests library (you can install it usingpip install requests)

Example Script

This example demonstrates how to send an image file to the API endpoint and process the response.

importrequests# URL of the web API endpointurl='http://127.0.0.1:8092/api/check_liveness'# Path to the image file you want to sendimage_path='./test_image.jpg'# Read the image file and send it as form datafiles= {'image':open(image_path,'rb')}try:# Send POST requestresponse=requests.post(url,files=files)# Check if the request was successfulifresponse.status_code==200:print('Request was successful!')# Parse the JSON responseresponse_data=response.json()print('Response Data:',response_data)else:print('Request failed with status code:',response.status_code)print('Response content:',response.text)exceptrequests.exceptions.RequestExceptionase:print('An error occurred:',e)

Request license

Feel free toContact US to get a trial License. We are 24/7 online onWhatsApp.

Face & IDSDK Online Demo, Resources

Our Products

Face Recognition SDK

NoProjectFeatures
1FaceRecognition-SDK-Docker1:1 & 1:N Face Matching SDK
2FaceRecognition-SDK-Windows1:1 & 1:N Face Matching SDK
3FaceRecognition-SDK-Linux1:1 & 1:N Face Matching SDK
4FaceRecognition-LivenessDetection-SDK-Android1:1 & 1:N Face Matching, 2D & 3D Face Passive Liveness Detection SDK
5FaceRecognition-LivenessDetection-SDK-iOS1:1 & 1:N Face Matching, 2D & 3D Face Passive Liveness Detection SDK
6FaceRecognition-LivenessDetection-SDK-CPP1:1 & 1:N Face Matching, 2D & 3D Face Passive Liveness Detection SDK
7FaceMatching-SDK-Android1:1 Face Matching SDK
8FaceAttributes-SDK-AndroidFace Attributes, Age & Gender Estimation SDK

Face Liveness Detection SDK

NoProjectFeatures
1FaceLivenessDetection-SDK-Docker2D & 3D Face Passive Liveness Detection SDK
2FaceLivenessDetection-SDK-Windows2D & 3D Face Passive Liveness Detection SDK
3FaceLivenessDetection-SDK-Linux2D & 3D Face Passive Liveness Detection SDK
4FaceLivenessDetection-SDK-Android2D & 3D Face Passive Liveness Detection SDK
5FaceLivenessDetection-SDK-iOS2D & 3D Face Passive Liveness Detection SDK

ID Document Recognition SDK

NoProjectFeatures
1ID-DocumentRecognition-SDK-DockerID Document, Passport, Driver License, Credit Card, MRZ Recognition SDK
2ID-DocumentRecognition-SDK-WindowsID Document, Passport, Driver License, Credit Card, MRZ Recognition SDK
3ID-DocumentRecognition-SDK-LinuxID Document, Passport, Driver License, Credit Card, MRZ Recognition SDK
4ID-DocumentRecognition-SDK-AndroidID Document, Passport, Driver License, Credit Card, MRZ Recognition SDK

ID Document Liveness Detection SDK

NoProjectFeatures
1ID-DocumentLivenessDetection-SDK-DockerID Document Liveness Detection SDK
2ID-DocumentLivenessDetection-SDK-WindowsID Document Liveness Detection SDK
3ID-DocumentLivenessDetection-SDK-LinuxID Document Liveness Detection SDK

Web & Desktop Demo

NoProjectFeatures
1FaceRecognition-IDRecognition-Playground-Next.JSFaceSDK & IDSDK Playground
2FaceCapture-LivenessDetection-Next.JSFace Capture, Face LivenessDetection, Face Attributes
3FaceMatching-Windows-App1:1 Face Matching Windows Demo Application

About MiniAiLive

MiniAiLive is a leading AI solutions company specializing in computer vision and machine learning technologies. We provide cutting-edge solutions for various industries, leveraging the power of AI to drive innovation and efficiency.

Contact US

For any inquiries or questions, please contact us onWhatsApp.

www.miniai.livewww.miniai.live

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp