Skip to content

Commit

Permalink
Updates SDK to v2.1050.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 4, 2022
1 parent 68891a9 commit 5619137
Show file tree
Hide file tree
Showing 17 changed files with 242 additions and 217 deletions.
7 changes: 7 additions & 0 deletions .changes/2.1050.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "Rekognition",
"description": "This release introduces a new field IndexFacesModelVersion, which is the version of the face detect and storage model that was used when indexing the face vector."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1049.0-->
<!--LATEST=2.1050.0-->
<!--ENTRYINSERT-->

## 2.1050.0
* feature: Rekognition: This release introduces a new field IndexFacesModelVersion, which is the version of the face detect and storage model that was used when indexing the face vector.

## 2.1049.0
* feature: Detective: Added and updated API operations to support the Detective integration with AWS Organizations. New actions are used to manage the delegated administrator account and the integration configuration.
* feature: GreengrassV2: This release adds the API operations to manage the Greengrass role associated with your account and to manage the core device connectivity information. Greengrass V2 customers can now depend solely on Greengrass V2 SDK for all the API operations needed to manage their fleets.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1049.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1050.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
39 changes: 20 additions & 19 deletions apis/rekognition-2016-06-27.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1693,11 +1693,11 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {}
}
Expand All @@ -1718,14 +1718,14 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"MinConfidence": {
"type": "float"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {}
}
Expand All @@ -1746,11 +1746,11 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"FaceAttributes": {},
"JobTag": {}
Expand All @@ -1773,15 +1773,15 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"FaceMatchThreshold": {
"type": "float"
},
"CollectionId": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {}
}
Expand All @@ -1802,14 +1802,14 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"MinConfidence": {
"type": "float"
},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {}
}
Expand All @@ -1830,11 +1830,11 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {}
}
Expand Down Expand Up @@ -1877,11 +1877,11 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {},
"Filters": {
Expand Down Expand Up @@ -1953,11 +1953,11 @@
],
"members": {
"Video": {
"shape": "S8v"
"shape": "S8w"
},
"ClientRequestToken": {},
"NotificationChannel": {
"shape": "S8x"
"shape": "S8y"
},
"JobTag": {},
"Filters": {
Expand Down Expand Up @@ -2603,18 +2603,19 @@
"ExternalImageId": {},
"Confidence": {
"type": "float"
}
},
"IndexFacesModelVersion": {}
}
},
"S8v": {
"S8w": {
"type": "structure",
"members": {
"S3Object": {
"shape": "S4"
}
}
},
"S8x": {
"S8y": {
"type": "structure",
"required": [
"SNSTopicArn",
Expand Down
22 changes: 15 additions & 7 deletions apis/rekognition-2016-06-27.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@
"shape": "ServiceQuotaExceededException"
}
],
"documentation": "<p>Detects faces in the input image and adds them to the specified collection. </p> <p>Amazon Rekognition doesn't save the actual faces that are detected. Instead, the underlying detection algorithm first detects the faces in the input image. For each face, the algorithm extracts facial features into a feature vector, and stores it in the backend database. Amazon Rekognition uses feature vectors when it performs face match and search operations using the <a>SearchFaces</a> and <a>SearchFacesByImage</a> operations.</p> <p>For more information, see Adding Faces to a Collection in the Amazon Rekognition Developer Guide.</p> <p>To get the number of faces in a collection, call <a>DescribeCollection</a>. </p> <p>If you're using version 1.0 of the face detection model, <code>IndexFaces</code> indexes the 15 largest faces in the input image. Later versions of the face detection model index the 100 largest faces in the input image. </p> <p>If you're using version 4 or later of the face model, image orientation information is not returned in the <code>OrientationCorrection</code> field. </p> <p>To determine which version of the model you're using, call <a>DescribeCollection</a> and supply the collection ID. You can also get the model version from the value of <code>FaceModelVersion</code> in the response from <code>IndexFaces</code> </p> <p>For more information, see Model Versioning in the Amazon Rekognition Developer Guide.</p> <p>If you provide the optional <code>ExternalImageId</code> for the input image you provided, Amazon Rekognition associates this ID with all faces that it detects. When you call the <a>ListFaces</a> operation, the response returns the external ID. You can use this external image ID to create a client-side index to associate the faces with each image. You can then use the index to find all faces in an image.</p> <p>You can specify the maximum number of faces to index with the <code>MaxFaces</code> input parameter. This is useful when you want to index the largest faces in an image and don't want to index smaller faces, such as those belonging to people standing in the background.</p> <p>The <code>QualityFilter</code> input parameter allows you to filter out detected faces that don’t meet a required quality bar. The quality bar is based on a variety of common use cases. By default, <code>IndexFaces</code> chooses the quality bar that's used to filter faces. You can also explicitly choose the quality bar. Use <code>QualityFilter</code>, to set the quality bar by specifying <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>. If you do not want to filter detected faces, specify <code>NONE</code>. </p> <note> <p>To use quality filtering, you need a collection associated with version 3 of the face model or higher. To get the version of the face model associated with a collection, call <a>DescribeCollection</a>. </p> </note> <p>Information about faces detected in an image, but not indexed, is returned in an array of <a>UnindexedFace</a> objects, <code>UnindexedFaces</code>. Faces aren't indexed for reasons such as:</p> <ul> <li> <p>The number of faces detected exceeds the value of the <code>MaxFaces</code> request parameter.</p> </li> <li> <p>The face is too small compared to the image dimensions.</p> </li> <li> <p>The face is too blurry.</p> </li> <li> <p>The image is too dark.</p> </li> <li> <p>The face has an extreme pose.</p> </li> <li> <p>The face doesn’t have enough detail to be suitable for face search.</p> </li> </ul> <p>In response, the <code>IndexFaces</code> operation returns an array of metadata for all detected faces, <code>FaceRecords</code>. This includes: </p> <ul> <li> <p>The bounding box, <code>BoundingBox</code>, of the detected face. </p> </li> <li> <p>A confidence value, <code>Confidence</code>, which indicates the confidence that the bounding box contains a face.</p> </li> <li> <p>A face ID, <code>FaceId</code>, assigned by the service for each face that's detected and stored.</p> </li> <li> <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p> </li> </ul> <p>If you request all facial attributes (by using the <code>detectionAttributes</code> parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for example, location of eye and mouth) and other facial attributes. If you provide the same image, specify the same collection, and use the same external ID in the <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p> <p/> <p>The input image is passed either as base64-encoded image bytes, or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes isn't supported. The image must be formatted as a PNG or JPEG file. </p> <p>This operation requires permissions to perform the <code>rekognition:IndexFaces</code> action.</p>"
"documentation": "<p>Detects faces in the input image and adds them to the specified collection. </p> <p>Amazon Rekognition doesn't save the actual faces that are detected. Instead, the underlying detection algorithm first detects the faces in the input image. For each face, the algorithm extracts facial features into a feature vector, and stores it in the backend database. Amazon Rekognition uses feature vectors when it performs face match and search operations using the <a>SearchFaces</a> and <a>SearchFacesByImage</a> operations.</p> <p>For more information, see Adding Faces to a Collection in the Amazon Rekognition Developer Guide.</p> <p>To get the number of faces in a collection, call <a>DescribeCollection</a>. </p> <p>If you're using version 1.0 of the face detection model, <code>IndexFaces</code> indexes the 15 largest faces in the input image. Later versions of the face detection model index the 100 largest faces in the input image. </p> <p>If you're using version 4 or later of the face model, image orientation information is not returned in the <code>OrientationCorrection</code> field. </p> <p>To determine which version of the model you're using, call <a>DescribeCollection</a> and supply the collection ID. You can also get the model version from the value of <code>FaceModelVersion</code> in the response from <code>IndexFaces</code> </p> <p>For more information, see Model Versioning in the Amazon Rekognition Developer Guide.</p> <p>If you provide the optional <code>ExternalImageId</code> for the input image you provided, Amazon Rekognition associates this ID with all faces that it detects. When you call the <a>ListFaces</a> operation, the response returns the external ID. You can use this external image ID to create a client-side index to associate the faces with each image. You can then use the index to find all faces in an image.</p> <p>You can specify the maximum number of faces to index with the <code>MaxFaces</code> input parameter. This is useful when you want to index the largest faces in an image and don't want to index smaller faces, such as those belonging to people standing in the background.</p> <p>The <code>QualityFilter</code> input parameter allows you to filter out detected faces that don’t meet a required quality bar. The quality bar is based on a variety of common use cases. By default, <code>IndexFaces</code> chooses the quality bar that's used to filter faces. You can also explicitly choose the quality bar. Use <code>QualityFilter</code>, to set the quality bar by specifying <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>. If you do not want to filter detected faces, specify <code>NONE</code>. </p> <note> <p>To use quality filtering, you need a collection associated with version 3 of the face model or higher. To get the version of the face model associated with a collection, call <a>DescribeCollection</a>. </p> </note> <p>Information about faces detected in an image, but not indexed, is returned in an array of <a>UnindexedFace</a> objects, <code>UnindexedFaces</code>. Faces aren't indexed for reasons such as:</p> <ul> <li> <p>The number of faces detected exceeds the value of the <code>MaxFaces</code> request parameter.</p> </li> <li> <p>The face is too small compared to the image dimensions.</p> </li> <li> <p>The face is too blurry.</p> </li> <li> <p>The image is too dark.</p> </li> <li> <p>The face has an extreme pose.</p> </li> <li> <p>The face doesn’t have enough detail to be suitable for face search.</p> </li> </ul> <p>In response, the <code>IndexFaces</code> operation returns an array of metadata for all detected faces, <code>FaceRecords</code>. This includes: </p> <ul> <li> <p>The bounding box, <code>BoundingBox</code>, of the detected face. </p> </li> <li> <p>A confidence value, <code>Confidence</code>, which indicates the confidence that the bounding box contains a face.</p> </li> <li> <p>A face ID, <code>FaceId</code>, assigned by the service for each face that's detected and stored.</p> </li> <li> <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p> </li> </ul> <p>If you request all facial attributes (by using the <code>detectionAttributes</code> parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for example, location of eye and mouth) and other facial attributes. If you provide the same image, specify the same collection, use the same external ID, and use the same model version in the <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p> <p/> <p>The input image is passed either as base64-encoded image bytes, or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes isn't supported. The image must be formatted as a PNG or JPEG file. </p> <p>This operation requires permissions to perform the <code>rekognition:IndexFaces</code> action.</p>"
},
"ListCollections": {
"name": "ListCollections",
Expand Down Expand Up @@ -2752,7 +2752,7 @@
},
"FaceModelVersion": {
"shape": "String",
"documentation": "<p>Version number of the face detection model associated with the collection you are creating.</p>"
"documentation": "<p>Latest face model being used with the collection. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>.</p>"
}
}
},
Expand Down Expand Up @@ -3839,6 +3839,10 @@
"Confidence": {
"shape": "Percent",
"documentation": "<p>Confidence level that the bounding box contains a face (and not a different object such as a tree).</p>"
},
"IndexFacesModelVersion": {
"shape": "IndexFacesModelVersion",
"documentation": "<p> The version of the face detect and storage model that was used when indexing the face vector. </p>"
}
},
"documentation": "<p>Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned. </p>"
Expand Down Expand Up @@ -4626,6 +4630,10 @@
},
"documentation": "<p>Identifies face image brightness and sharpness. </p>"
},
"IndexFacesModelVersion": {
"type": "string",
"pattern": "[0-9\\.]+"
},
"IndexFacesRequest": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -4672,7 +4680,7 @@
},
"FaceModelVersion": {
"shape": "String",
"documentation": "<p>The version number of the face detection model that's associated with the input collection (<code>CollectionId</code>).</p>"
"documentation": "<p>Latest face model being used with the collection. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>.</p>"
},
"UnindexedFaces": {
"shape": "UnindexedFaces",
Expand Down Expand Up @@ -4913,7 +4921,7 @@
},
"FaceModelVersions": {
"shape": "FaceModelVersionList",
"documentation": "<p>Version numbers of the face detection models associated with the collections in the array <code>CollectionIds</code>. For example, the value of <code>FaceModelVersions[2]</code> is the version number for the face detection model used by the collection in <code>CollectionId[2]</code>.</p>"
"documentation": "<p>Latest face models being used with the corresponding collections in the array. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>. For example, the value of <code>FaceModelVersions[2]</code> is the version number for the face detection model used by the collection in <code>CollectionId[2]</code>.</p>"
}
}
},
Expand Down Expand Up @@ -5042,7 +5050,7 @@
},
"FaceModelVersion": {
"shape": "String",
"documentation": "<p>Version number of the face detection model associated with the input collection (<code>CollectionId</code>).</p>"
"documentation": "<p>Latest face model being used with the collection. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>.</p>"
}
}
},
Expand Down Expand Up @@ -5783,7 +5791,7 @@
},
"FaceModelVersion": {
"shape": "String",
"documentation": "<p>Version number of the face detection model associated with the input collection (<code>CollectionId</code>).</p>"
"documentation": "<p>Latest face model being used with the collection. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>.</p>"
}
}
},
Expand Down Expand Up @@ -5825,7 +5833,7 @@
},
"FaceModelVersion": {
"shape": "String",
"documentation": "<p>Version number of the face detection model associated with the input collection (<code>CollectionId</code>).</p>"
"documentation": "<p>Latest face model being used with the collection. For more information, see <a href=\"https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html\">Model versioning</a>.</p>"
}
}
},
Expand Down
Loading

0 comments on commit 5619137

Please sign in to comment.