Class SearchPersonRequest

java.lang.Object
com.regula.facesdk.request.person.SearchPersonRequest

public class SearchPersonRequest extends Object
  • Constructor Details

    • SearchPersonRequest

      public SearchPersonRequest()
  • Method Details

    • getGroupIdsForSearch

      public String[] getGroupIdsForSearch()
      The IDs of the groups in which the search is performed.
      Returns:
      the IDs of the groups
    • setGroupIdsForSearch

      public void setGroupIdsForSearch(String[] groupIdsForSearch)
      The IDs of the groups in which the search is performed.
      Parameters:
      groupIdsForSearch - the IDs of the groups
    • getThreshold

      public Float getThreshold()
      The similarity distance threshold
      Returns:
      the similarity
    • setThreshold

      public void setThreshold(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.
      Parameters:
      threshold - the similarity distance threshold
    • getLimit

      public Integer getLimit()
      The number of returned Persons limit.
      Returns:
      persons limit
    • setLimit

      public void setLimit(Integer limit)
      The number of returned Persons limit.
      Parameters:
      limit - persons limit
    • getImageUpload

      public ImageUpload getImageUpload()
      The uploaded image.
      Returns:
      ImageUpload object
    • setImageUpload

      public void setImageUpload(ImageUpload imageUpload)
      The uploaded image.
      Parameters:
      imageUpload - ImageUpload object
    • setDetectAll

      public void setDetectAll(boolean detectAll)
    • isDetectAll

      public boolean isDetectAll()
    • getTag

      public String getTag()
    • setTag

      public void setTag(String tag)
    • toJson

      public String toJson()
    • getOutputImageParams

      public OutputImageParams getOutputImageParams()
      Output image parameters
      Returns:
    • setOutputImageParams

      public void setOutputImageParams(OutputImageParams outputImageParams)
      If set the uploaded image is processed according to the indicated settings
      Parameters:
      outputImageParams - Output image parameters