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

Appearance settings

FaceOnLive/Face-Liveness-Detection-SDK-Linux

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Liveness Detection SDK For Linux

Fully Offline, On-Premise Face Liveness Detection SDK for Linux


Documentation at https://docs.faceonlive.com

🎉 Try It Yourself on our Portfolio Website

Integrated into Huggingface Spaces 🤗 using Gradio. Try out the Web Demo: Hugging Face Spaces

fast.mp4

👏 Supporters

Stargazers repo roster for @faceonlive/Face-Liveness-Detection-SDK-Linux Forkers repo roster for @faceonlive/Face-Liveness-Detection-SDK-Linux

Animated footer bars

🏃 How to run

1. Download and install dependencies

To begin, follow these steps to download and install the necessary dependencies:

git clone https://github.com/FaceOnLive/Face-Liveness-Detection-SDK-Linux
cd Face-Liveness-Detection-SDK-Linux
chmod +x ./install_dependency.sh
sudo ./install_dependency.sh

2. Execute the Python Flask application

Next, run the Python Flask application by executing the following command:

python3 app.py

3. Activate the SDK

- Online License

If you have an online license, please update the license key provided by us in the following file:

licenseKey = "XXXXX-XXXXX-XXXXX-XXXXX"

- Offline License

If you have an offline license, please share your machine's HWID (Hardware ID) with us to receive the license.txt file. Update the HWID in the following file:

licensePath = "license.txt"

online init failed: 6
hwid:  IXwjedMe8M5cZX/GwU3NEOqJRcqLwldq27HSLyFiejbGDB9XVgytA1RgJukV3mWWTNo84NwTMYU=

4. Using Docker

  • Build the Docker image:
sudo docker build --pull --rm -f Dockerfile -t faceonlive_v7:latest .
  • Run Docker with online license:
sudo docker docker run --network host faceonlive_v7
  • Run Docker with offline license:
sudo docker run -v license.txt:/root/FaceOnLive_v7/license.txt --network host faceonlive_v7

5. Test endpoint

To test the endpoint, download the Postman Collection from the following link: FaceOnLive.postman_collection.json

image

image

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.