public class SearchFacesByImageResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SearchFacesByImageResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<FaceMatch> |
getFaceMatches()
An array of faces that match the input face, along with the confidence in
the match.
|
java.lang.String |
getFaceModelVersion()
Version number of the face detection model associated with the input
collection (
CollectionId ). |
BoundingBox |
getSearchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon
Rekognition used for the search.
|
java.lang.Float |
getSearchedFaceConfidence()
The level of confidence that the
searchedFaceBoundingBox ,
contains a face. |
int |
hashCode() |
void |
setFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in
the match.
|
void |
setFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
void |
setSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon
Rekognition used for the search.
|
void |
setSearchedFaceConfidence(java.lang.Float searchedFaceConfidence)
The level of confidence that the
searchedFaceBoundingBox ,
contains a face. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchFacesByImageResult |
withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in
the match.
|
SearchFacesByImageResult |
withFaceMatches(FaceMatch... faceMatches)
An array of faces that match the input face, along with the confidence in
the match.
|
SearchFacesByImageResult |
withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
SearchFacesByImageResult |
withSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon
Rekognition used for the search.
|
SearchFacesByImageResult |
withSearchedFaceConfidence(java.lang.Float searchedFaceConfidence)
The level of confidence that the
searchedFaceBoundingBox ,
contains a face. |
public BoundingBox getSearchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon Rekognition used for the search.
The bounding box around the face in the input image that Amazon Rekognition used for the search.
public void setSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
searchedFaceBoundingBox
- The bounding box around the face in the input image that Amazon Rekognition used for the search.
public SearchFacesByImageResult withSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
Returns a reference to this object so that method calls can be chained together.
searchedFaceBoundingBox
- The bounding box around the face in the input image that Amazon Rekognition used for the search.
public java.lang.Float getSearchedFaceConfidence()
The level of confidence that the searchedFaceBoundingBox
,
contains a face.
Constraints:
Length: 0 - 100
The level of confidence that the
searchedFaceBoundingBox
, contains a face.
public void setSearchedFaceConfidence(java.lang.Float searchedFaceConfidence)
The level of confidence that the searchedFaceBoundingBox
,
contains a face.
Constraints:
Length: 0 - 100
searchedFaceConfidence
-
The level of confidence that the
searchedFaceBoundingBox
, contains a face.
public SearchFacesByImageResult withSearchedFaceConfidence(java.lang.Float searchedFaceConfidence)
The level of confidence that the searchedFaceBoundingBox
,
contains a face.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
searchedFaceConfidence
-
The level of confidence that the
searchedFaceBoundingBox
, contains a face.
public java.util.List<FaceMatch> getFaceMatches()
An array of faces that match the input face, along with the confidence in the match.
An array of faces that match the input face, along with the confidence in the match.
public void setFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.
public SearchFacesByImageResult withFaceMatches(FaceMatch... faceMatches)
An array of faces that match the input face, along with the confidence in the match.
Returns a reference to this object so that method calls can be chained together.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.
public SearchFacesByImageResult withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
Returns a reference to this object so that method calls can be chained together.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.
public java.lang.String getFaceModelVersion()
Version number of the face detection model associated with the input
collection (CollectionId
).
Version number of the face detection model associated with the
input collection (CollectionId
).
public void setFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (CollectionId
).
faceModelVersion
-
Version number of the face detection model associated with the
input collection (CollectionId
).
public SearchFacesByImageResult withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (CollectionId
).
Returns a reference to this object so that method calls can be chained together.
faceModelVersion
-
Version number of the face detection model associated with the
input collection (CollectionId
).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.