AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the DetectCustomLabels operation.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class DetectCustomLabelsResponse : AmazonWebServiceResponse
The DetectCustomLabelsResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
DetectCustomLabelsResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
CustomLabels | System.Collections.Generic.List<Amazon.Rekognition.Model.CustomLabel> |
Gets and sets the property CustomLabels. An array of custom labels detected in the input image. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
Detects custom labels in an image with an Amazon Rekognition Custom Labels model
var client = new AmazonRekognitionClient(); var response = client.DetectCustomLabels(new DetectCustomLabelsRequest { Image = new Image { S3Object = new S3Object { Bucket = "custom-labels-console-us-east-1-1111111111", Name = "assets/flowers_1_test_dataset/camellia4.jpg" } }, MaxResults = 100, MinConfidence = 50, ProjectVersionArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/my-project.2023-07-31T11.49.37/1690829378219" }); List<CustomLabel> customLabels = response.CustomLabels;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5