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 IndexFaces operation.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class IndexFacesResponse : AmazonWebServiceResponse
The IndexFacesResponse type exposes the following members
Name | Description | |
---|---|---|
IndexFacesResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
FaceModelVersion | System.String |
Gets and sets the property FaceModelVersion.
The version number of the face detection model that's associated with the input collection
( |
|
FaceRecords | System.Collections.Generic.List<Amazon.Rekognition.Model.FaceRecord> |
Gets and sets the property FaceRecords. An array of faces detected and added to the collection. For more information, see Searching Faces in a Collection in the Amazon Rekognition Developer Guide. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
OrientationCorrection | Amazon.Rekognition.OrientationCorrection |
Gets and sets the property OrientationCorrection.
If your collection is associated with a face detection model that's later than version
3.0, the value of If your collection is associated with a face detection model that's version 3.0 or earlier, the following applies:
Bounding box information is returned in the |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
UnindexedFaces | System.Collections.Generic.List<Amazon.Rekognition.Model.UnindexedFace> |
Gets and sets the property UnindexedFaces.
An array of faces that were detected in the image but weren't indexed. They weren't
indexed because the quality filter identified them as low quality, or the |
This operation detects faces in an image and adds them to the specified Rekognition collection.
var client = new AmazonRekognitionClient(); var response = client.IndexFaces(new IndexFacesRequest { CollectionId = "myphotos", DetectionAttributes = new List<string> { }, ExternalImageId = "myphotoid", Image = new Image { S3Object = new S3Object { Bucket = "mybucket", Name = "myphoto" } } }); List<FaceRecord> faceRecords = response.FaceRecords; string orientationCorrection = response.OrientationCorrection;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5