iBeta (Level 2) Certified, Single-Image Based Face Liveness Detection (Face Anti Spoofing) Server SDK
Note
SDK is fully on-premise, processing all happens on hosting server and no data leaves server.
# 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
sudo apt-get update -y
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libopencv-dev
cp ./bin/linux_x86_64/libfm_models.so /usr/lib
cp ./bin/linux_x86_64/libimutils.so /usr/lib
Contact us by Email [email protected]
Subscribe free trial at our Subscription Page
You will get email with trial license key ("XXXXX-XXXXX-XXXXX-XXXXX").
cd cpp
mkdir build && cd build
cmake ..
make
./example_liveness --image ../../test_image/spoof.png --model ../../model
cd python
pip install -r requirements.txt
python main.py
cd flask
pip install -r requirements.txt
python app.py
docker build --pull --rm -f "Dockerfile" -t facemeliveness:latest "."
docker run --network host facemeliveness
Subscribe free trial at our Subscription Page
You will get email with trial license key ("XXXXX-XXXXX-XXXXX-XXXXX").