FaceSDK - Linux
Face Recognition Linux Server SDK
Last updated
Face Recognition Linux Server SDK
Last updated
Our SDK is fully on-premise, processing all happens on hosting server and no data leaves your server.
Python 3.6+
Linux
CPU: 2 cores or more
RAM: 8GB or more
Download the Face Recognition Linux Server Installer
Download the Server installer for your operating system from the following link:
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.
Request License and Update You can generate the License Request file by using this command:
Verify Installation After installation, verify that the On-premise Server is correctly installed by using this command:
If you can see 'Mini-facesvc.service', 'Mini-fdsvc.service', the server has been installed successfully. Refer the below image.
Endpoint
Form Data:
image
: The image file (PNG, JPG, etc.) to be analyzed. This should be provided as a file upload
POST
http://127.0.0.1:8083/api/face_detect_base64
<Face Detection, Face Attributes API>
Raw Data:
JSON Format
:
Other available endpoints here.
POST
http://127.0.0.1:8083/api/face_match
<1:1, 1:N Face Matching API>
POST
http://127.0.0.1:8083/api/face_match_base64
<1:1, 1:N Face Matching API>
Response
The API returns a JSON object with the recognized details from the input face image. Here is an example response
We have included a Gradio demo to showcase the capabilities of our Face Recognition SDK. Gradio is a Python library that allows you to quickly create user interfaces for machine learning models.
Install Gradio:
First, you need to install Gradio. You can do this using pip:
Run Gradio Demo:
To help you get started with using the API, here is a comprehensive example of how to interact with the Face Recognition 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 using pip install requests
)
Example Script
This example demonstrates how to send an image file to the API endpoint and process the response.
1
1:1 & 1:N Face Matching
2
1:1 & 1:N Face Matching
3
1:1 & 1:N Face Matching
4
1:1 & 1:N Face Matching, 2D & 3D Face Passive LivenessDetection
5
1:1 & 1:N Face Matching, 2D & 3D Face Passive LivenessDetection
6
2D & 3D Face Passive LivenessDetection
7
2D & 3D Face Passive LivenessDetection
8
2D & 3D Face Passive LivenessDetection
9
2D & 3D Face Passive LivenessDetection
10
1:1 Face Matching
11
1:1 Face Matching
12
Face Attributes, Age & Gender Estimation
13
IDCard, Passport, Driver License, Credit, MRZ Recognition
14
IDCard, Passport, Driver License, Credit, MRZ Recognition
15
IDCard, Passport, Driver License, Credit, MRZ Recognition
16
IDCard, Passport, Driver License, Credit, MRZ Recognition
17
ID Document LivenessDetection
18
ID Document LivenessDetection
19
ID Document LivenessDetection
Then you can see the license request file on your directory, and send it to us via or . 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.
POST
<Face Detection, Face Attributes API>
Feel free to to get a trial License. We are 24/7 online on WhatsApp: .