FaceLivenessDetection ServerSDK Save Abandoned

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

Project README

A 100% spoofing-prevention rate for both 3D printed and resin facial masks, confirms FaceMe® 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.

Note

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

Project Structure

# Code & components for pages
./FaceLivenessDetection-ServerSDK
  ├─ bin/linux_x86_64                 - # Core library files
  │  ├─ libfaceme_liveness1.so
  │  ├─ libfm_models.so
  │  └─ libimutils.so
  ├─ cpp                              - # C++ example
  │  ├─ CMakeLists.txt                - # CMake file for build example
  │  ├─ faceme_liveness.h             - # C++ header file to include library
  │  └─ main.cpp                      - # C++ example code
  ├─ flask                            - # Python flask API serving example
  │  ├─ app.py                        - # Flask example code
  │  └─ requirements.txt               - # Python requirement list
  ├─ model                            - # NN dictionary files for library
  │  ├─ data1.bin
  │  └─ data2.bin
  ├─ python                           - # Python example
  │  ├─ faceme_liveness.py            - # Python library Import Interface file
  │  ├─ main.py                       - # Python example code
  │  └─ requirements.txt              - # Python requirement list
  ├─ test_image                       - # Test Images
  │  ├─ genuine.jpg
  │  └─ spoof.png
  └─ Dockerfile                       - # Docker script for python flask API serving example

Setup Project

- Linux

  • Download repo and extract it
  • Install system dependencies
sudo apt-get update -y
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libopencv-dev
  • Copy libraries into system folder
cp ./bin/linux_x86_64/libfm_models.so /usr/lib
cp ./bin/linux_x86_64/libimutils.so /usr/lib

- Windows

Contact us by Email [email protected]

- Request license

Subscribe free trial at our Subscription Page
You will get email with trial license key ("XXXXX-XXXXX-XXXXX-XXXXX").

C++ Example

cd cpp
mkdir build && cd build
cmake ..
make
  • Run project
./example_liveness --image ../../test_image/spoof.png --model ../../model

Python Example

cd python
pip install -r requirements.txt
  • Run project
python main.py

Python Flask Example

cd flask
pip install -r requirements.txt
  • Run project
python app.py

  

Docker Flask Example

docker build --pull --rm -f "Dockerfile" -t facemeliveness:latest "."
  • Run image
docker run --network host facemeliveness

Request license

Subscribe free trial at our Subscription Page
You will get email with trial license key ("XXXXX-XXXXX-XXXXX-XXXXX").

Open Source Agenda is not affiliated with "FaceLivenessDetection ServerSDK" Project. README Source: FaceMe-SDK/FaceLivenessDetection-ServerSDK

Open Source Agenda Badge

Open Source Agenda Rating