FaceCompare
When to use the FaceCompare Activity
Use this activity when you want to check the likelihood that two faces belong to the same person. You will get a confidence score and thresholds to evaluate the similarity. With Face Compare, you can easily verify a user against a reference photo.
Figure 1
Drag a Face Compare activity from the FacePlusPlus package and drop it into the FPP Scope. Specify the Image path 1 and 2 based on your selection of Parameter 1 and 2 values. Please be informed that cross selection, that is, providing different values in parameters is not supported. Fill appropriate details in all fields in the property window. Refer Figure 4.
Output field supports only string variable type, while Result field supports only Boolean variable type Create variables accordingly. Execute to Compare the similarity of two faces in the given images, efficiently and accurately.
Figure 2
Return Values
Figure 3
Technical Reference
Figure 4
Image Requirements
Format: JPG (JPEG), PNG
Size: between 48*48 and 4096*4096 (pixels)
File size: no larger than 2MB
Minimal size of face: the bounding box of a detected face is a square. The minimal side length of a square should be no less than 150 pixels.
About face_token
If you want to use the detected face for follow-up operations, we recommend you add its corresponding face_token into FaceSet. A face_token expires within 72 hours if it is not added into any FaceSet.
Every time you operate face detection upon one image, the face within the image will get a different face_token.
Note: For Information on other values in the Parameter field, please refer the Face Detection activity.