Class SearchPersonRequest
java.lang.Object
com.regula.facesdk.request.person.SearchPersonRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]The IDs of the groups in which the search is performed.The uploaded image.getLimit()The number of returned Persons limit.Output image parametersgetTag()The similarity distance thresholdbooleanvoidsetDetectAll(boolean detectAll) voidsetGroupIdsForSearch(String[] groupIdsForSearch) The IDs of the groups in which the search is performed.voidsetImageUpload(ImageUpload imageUpload) The uploaded image.voidThe number of returned Persons limit.voidsetOutputImageParams(OutputImageParams outputImageParams) If set the uploaded image is processed according to the indicated settingsvoidvoidsetThreshold(Float threshold) The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones.toJson()
-
Constructor Details
-
SearchPersonRequest
public SearchPersonRequest()
-
-
Method Details
-
getGroupIdsForSearch
The IDs of the groups in which the search is performed.- Returns:
- the IDs of the groups
-
setGroupIdsForSearch
The IDs of the groups in which the search is performed.- Parameters:
groupIdsForSearch- the IDs of the groups
-
getThreshold
The similarity distance threshold- Returns:
- the similarity
-
setThreshold
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones.- Parameters:
threshold- the similarity distance threshold
-
getLimit
The number of returned Persons limit.- Returns:
- persons limit
-
setLimit
The number of returned Persons limit.- Parameters:
limit- persons limit
-
getImageUpload
The uploaded image.- Returns:
- ImageUpload object
-
setImageUpload
The uploaded image.- Parameters:
imageUpload- ImageUpload object
-
setDetectAll
public void setDetectAll(boolean detectAll) -
isDetectAll
public boolean isDetectAll() -
getTag
-
setTag
-
toJson
-
getOutputImageParams
Output image parameters- Returns:
-
setOutputImageParams
If set the uploaded image is processed according to the indicated settings- Parameters:
outputImageParams- Output image parameters
-