Run the docker by using the command: sudo docker run -d -it -p port-you-want-accurafacematch-to-run-on:80 --restart=always accurascan/facematch:<latest tag>
Upload your license accessing "https://<yourdomain:port>" using a browser, Example is shown in the image below.
Step 4:
Use “https://yourdomain:port/api.php” (POST request) to access the API, an example post request is shown below.
POSThttps://yourdomain:port/api.php
Request Body
You can either pass image file or an image base64.
Name
Type
Description
image1*
file
Upload your image file
image2*
file
Upload your image file
image1base64
text or string
paste your image base64 here
image2base64
text or string
paste your image base64 here
The preferred threshold is 55%, meaning that if an image achieves a score above this threshold, the Face Match is considered Successful; otherwise, the Face Match is deemed to have Failed.