Smaws_Client_Rekognition.StartLabelDetectionStarts asynchronous detection of labels in a stored video.
Amazon Rekognition Video can detect labels in a video. Labels are instances of real-world entities. This includes objects like flower, tree, and table; events like wedding, graduation, and birthday party; concepts like landscape, evening, and nature; and activities like a person getting out of a car or a person skiing.
The video must be stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartLabelDetection returns a job identifier (JobId) which you use to get the results of the operation. When label detection is finished, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel.
To get the results of the label detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetLabelDetection and pass the job identifier (JobId) from the initial call to StartLabelDetection.
Optional Parameters
StartLabelDetection has the GENERAL_LABELS Feature applied by default. This feature allows you to provide filtering criteria to the Settings parameter. You can filter with sets of individual labels or with label categories. You can specify inclusive filters, exclusive filters, or a combination of inclusive and exclusive filters. For more information on filtering, see Detecting labels in a video.
You can specify MinConfidence to control the confidence threshold for the labels returned. The default is 50.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_label_detection_request ->
(Types.start_label_detection_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_label_detection_request ->
(Types.start_label_detection_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerError of Types.internal_server_error
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidS3ObjectException of Types.invalid_s3_object_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `VideoTooLargeException of Types.video_too_large_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result