/AWS1/CL_REK=>STARTFACESEARCH()
¶
About StartFaceSearch¶
Starts the asynchronous search for faces in a collection that match the faces of persons detected in a stored video.
The video must be stored in an Amazon S3 bucket. Use Video to specify the bucket name
and the filename of the video. StartFaceSearch
returns a job identifier (JobId
) which you use to get the search results once the search has completed.
When searching is finished, Amazon Rekognition Video publishes a completion status
to the Amazon Simple Notification Service topic that you specify in NotificationChannel
.
To get the search results, first check that the status value published to the Amazon SNS
topic is SUCCEEDED
. If so, call GetFaceSearch and pass the job identifier
(JobId
) from the initial call to StartFaceSearch
. For more information, see
Searching stored videos for faces.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_VIDEO
TYPE REF TO /AWS1/CL_REKVIDEO
/AWS1/CL_REKVIDEO
¶
The video you want to search. The video must be stored in an Amazon S3 bucket.
IV_COLLECTIONID
TYPE /AWS1/REKCOLLECTIONID
/AWS1/REKCOLLECTIONID
¶
ID of the collection that contains the faces you want to search for.
Optional arguments:¶
IV_CLIENTREQUESTTOKEN
TYPE /AWS1/REKCLIENTREQUESTTOKEN
/AWS1/REKCLIENTREQUESTTOKEN
¶
Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceSearch
requests, the sameJobId
is returned. UseClientRequestToken
to prevent the same job from being accidently started more than once.
IV_FACEMATCHTHRESHOLD
TYPE /AWS1/RT_FLOAT_AS_STRING
/AWS1/RT_FLOAT_AS_STRING
¶
The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.
IO_NOTIFICATIONCHANNEL
TYPE REF TO /AWS1/CL_REKNOTIFCHANNEL
/AWS1/CL_REKNOTIFCHANNEL
¶
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
IV_JOBTAG
TYPE /AWS1/REKJOBTAG
/AWS1/REKJOBTAG
¶
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use
JobTag
to group related jobs and identify them in the completion notification.