YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Product & Resources
For more information, visit KBY AI's GitHub Repository.
FaceLivenessDetection-Docker
Overview
This Docker image implements face liveness detection technology via a Flask API and Gradio.
It includes features for testing face liveness detection using both image files and base64-encoded images.
Docker Run
Pull docker image
sudo docker pull kbyai/face-liveness-detection:latest
- Run run docker container with license key file.
sudo docker run -v ./license.txt:/root/kby-ai-live/license.txt -p 8080:8080 -p 9000:9000 kbyai/face-liveness-detection:latest
- Or run docker container with license key string.
sudo docker run -e LICENSE="xxxxx" -p 8080:8080 -p 9000:9000 kbyai/face-liveness-detection:latest
SDK License
This Docker image utilizes KBY-AI's Face Liveness Detection Server SDK, which requires a license for each machine or instance on which it runs.
- To get the machine code for license, use the following command:
sudo docker run -e LICENSE="xxxxx" kbyai/face-liveness-detection:latest
- To request the license, please provide us with the machine code obtained from your console.
Contact us:
๐งEmail: contact@kby-ai.com
๐งTelegram: @kbyaisupport
๐งWhatsApp: +13348402323
๐งDiscord: KBY-AI
๐งTeams: KBY-AI
Try the API
Gradio Demo
To test the Gradio demo from the Docker image, access it at http://127.0.0.1:9000 or http://localhost:9000.
Postman
To test the API, use Postman. Here are the endpoints for testing:
Test with an image file: Send a
POSTrequest to http://127.0.0.1:8080/check_liveness.Test with a
base64-encodedimage: Send aPOSTrequest to http://127.0.0.1:8080/check_liveness_base64.Download the
Postmancollection to access and use these endpoints easily. Click here