public class PersonDetail
extends java.lang.Object
implements java.io.Serializable
Details about a person detected in a video analysis request.
Constructor and Description |
---|
PersonDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
BoundingBox |
getBoundingBox()
Bounding box around the detected person.
|
FaceDetail |
getFace()
Face details for the detected person.
|
java.lang.Long |
getIndex()
Identifier for the person detected person within a video.
|
int |
hashCode() |
void |
setBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
|
void |
setFace(FaceDetail face)
Face details for the detected person.
|
void |
setIndex(java.lang.Long index)
Identifier for the person detected person within a video.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PersonDetail |
withBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
|
PersonDetail |
withFace(FaceDetail face)
Face details for the detected person.
|
PersonDetail |
withIndex(java.lang.Long index)
Identifier for the person detected person within a video.
|
public java.lang.Long getIndex()
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
public void setIndex(java.lang.Long index)
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
index
- Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
public PersonDetail withIndex(java.lang.Long index)
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
Returns a reference to this object so that method calls can be chained together.
index
- Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
public BoundingBox getBoundingBox()
Bounding box around the detected person.
Bounding box around the detected person.
public void setBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
boundingBox
- Bounding box around the detected person.
public PersonDetail withBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
Returns a reference to this object so that method calls can be chained together.
boundingBox
- Bounding box around the detected person.
public FaceDetail getFace()
Face details for the detected person.
Face details for the detected person.
public void setFace(FaceDetail face)
Face details for the detected person.
face
- Face details for the detected person.
public PersonDetail withFace(FaceDetail face)
Face details for the detected person.
Returns a reference to this object so that method calls can be chained together.
face
- Face details for the detected person.
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.