AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PersonMatch

import "github.com/aws/aws-sdk-go/service/rekognition"

type PersonMatch struct { FaceMatches []*FaceMatch `type:"list"` Person *PersonDetail `type:"structure"` Timestamp *int64 `type:"long"` }

Information about a person whose face matches a face(s) in an Amazon Rekognition collection. Includes information about the faces in the Amazon Rekognition collection (FaceMatch), information about the person (PersonDetail), and the time stamp for when the person was detected in a video. An array of PersonMatch objects is returned by GetFaceSearch.

FaceMatches

Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.

Person

Details about a person detected in a video analysis request.

Timestamp

Type: *int64

The time, in milliseconds from the beginning of the video, that the person was matched in the video.

Method

GoString

func (s PersonMatch) GoString() string

GoString returns the string representation

SetFaceMatches

func (s *PersonMatch) SetFaceMatches(v []*FaceMatch) *PersonMatch

SetFaceMatches sets the FaceMatches field's value.

SetPerson

func (s *PersonMatch) SetPerson(v *PersonDetail) *PersonMatch

SetPerson sets the Person field's value.

SetTimestamp

func (s *PersonMatch) SetTimestamp(v int64) *PersonMatch

SetTimestamp sets the Timestamp field's value.

String

func (s PersonMatch) String() string

String returns the string representation

On this page: