Package com.regula.facesdk.request
Class MatchFacesRequest
java.lang.Object
com.regula.facesdk.request.MatchFacesRequest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionJSONObject
Getting the custom metadataInitializes a request to match and detect faces on input `images`.float
Getting the similarity Thresholdboolean
Returns a flag for receiving thumbnails in responsevoid
setCustomMetadata
(JSONObject customMetadata) Set custom metadata to match faces requestvoid
setThumbnails
(boolean thumbnails) Set the flag to 'true' to receive thumbnails in the response
-
Constructor Details
-
MatchFacesRequest
-
-
Method Details
-
setCustomMetadata
public void setCustomMetadata(JSONObject customMetadata) Set custom metadata to match faces request- Parameters:
customMetadata
-invalid @link
JSONObject
-
getSimilarityThreshold
public float getSimilarityThreshold()Getting the similarity Threshold- Returns:
- float value of similarity threshold, Default: 0.75f
-
getImages
Initializes a request to match and detect faces on input `images`.- Returns:
- List of
MatchFacesImage
-
getCustomMetadata
public JSONObject getCustomMetadata()Getting the custom metadata- Returns:
-
invalid @link
JSONObject
-
isThumbnails
public boolean isThumbnails()Returns a flag for receiving thumbnails in response- Returns:
- Default: 'false'.
-
setThumbnails
public void setThumbnails(boolean thumbnails) Set the flag to 'true' to receive thumbnails in the response- Parameters:
thumbnails
- flag
-