@aws-sdk/client-rekognition 3.36.0 → 3.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/Rekognition.js +0 -3
- package/dist-cjs/RekognitionClient.js +0 -8
- package/dist-cjs/commands/CompareFacesCommand.js +0 -86
- package/dist-cjs/commands/CreateCollectionCommand.js +0 -36
- package/dist-cjs/commands/CreateProjectCommand.js +0 -26
- package/dist-cjs/commands/CreateProjectVersionCommand.js +0 -35
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +0 -34
- package/dist-cjs/commands/DeleteCollectionCommand.js +0 -28
- package/dist-cjs/commands/DeleteFacesCommand.js +0 -27
- package/dist-cjs/commands/DeleteProjectCommand.js +0 -27
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +0 -31
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +0 -25
- package/dist-cjs/commands/DescribeCollectionCommand.js +0 -29
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +0 -28
- package/dist-cjs/commands/DescribeProjectsCommand.js +0 -25
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +0 -25
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +0 -74
- package/dist-cjs/commands/DetectFacesCommand.js +0 -46
- package/dist-cjs/commands/DetectLabelsCommand.js +0 -96
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +0 -37
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +0 -63
- package/dist-cjs/commands/DetectTextCommand.js +0 -45
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +0 -31
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +0 -58
- package/dist-cjs/commands/GetContentModerationCommand.js +0 -53
- package/dist-cjs/commands/GetFaceDetectionCommand.js +0 -36
- package/dist-cjs/commands/GetFaceSearchCommand.js +0 -54
- package/dist-cjs/commands/GetLabelDetectionCommand.js +0 -44
- package/dist-cjs/commands/GetPersonTrackingCommand.js +0 -53
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +0 -46
- package/dist-cjs/commands/GetTextDetectionCommand.js +0 -42
- package/dist-cjs/commands/IndexFacesCommand.js +0 -123
- package/dist-cjs/commands/ListCollectionsCommand.js +0 -29
- package/dist-cjs/commands/ListFacesCommand.js +0 -31
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -28
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +0 -54
- package/dist-cjs/commands/SearchFacesByImageCommand.js +0 -70
- package/dist-cjs/commands/SearchFacesCommand.js +0 -44
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +0 -35
- package/dist-cjs/commands/StartContentModerationCommand.js +0 -35
- package/dist-cjs/commands/StartFaceDetectionCommand.js +0 -36
- package/dist-cjs/commands/StartFaceSearchCommand.js +0 -33
- package/dist-cjs/commands/StartLabelDetectionCommand.js +0 -38
- package/dist-cjs/commands/StartPersonTrackingCommand.js +0 -32
- package/dist-cjs/commands/StartProjectVersionCommand.js +0 -33
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +0 -39
- package/dist-cjs/commands/StartStreamProcessorCommand.js +0 -26
- package/dist-cjs/commands/StartTextDetectionCommand.js +0 -31
- package/dist-cjs/commands/StopProjectVersionCommand.js +0 -25
- package/dist-cjs/commands/StopStreamProcessorCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -28
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -69
- package/dist-cjs/models/models_0.js +0 -621
- package/dist-cjs/pagination/DescribeProjectVersionsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeProjectsPaginator.js +0 -10
- package/dist-cjs/pagination/GetCelebrityRecognitionPaginator.js +0 -10
- package/dist-cjs/pagination/GetContentModerationPaginator.js +0 -10
- package/dist-cjs/pagination/GetFaceDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetFaceSearchPaginator.js +0 -10
- package/dist-cjs/pagination/GetLabelDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetPersonTrackingPaginator.js +0 -10
- package/dist-cjs/pagination/GetSegmentDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/GetTextDetectionPaginator.js +0 -10
- package/dist-cjs/pagination/ListCollectionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListFacesPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamProcessorsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +17 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForProjectVersionRunning.js +0 -9
- package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +0 -9
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -69
- package/dist-es/pagination/index.js +14 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/index.d.ts +5 -69
- package/dist-types/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/Rekognition.d.ts +52 -1018
- package/dist-types/ts3.4/RekognitionClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/CompareFacesCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/CreateCollectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateProjectVersionCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateStreamProcessorCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DeleteCollectionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteFacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteProjectVersionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteStreamProcessorCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeCollectionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeProjectVersionsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeProjectsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeStreamProcessorCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DetectCustomLabelsCommand.d.ts +2 -70
- package/dist-types/ts3.4/commands/DetectFacesCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DetectLabelsCommand.d.ts +2 -92
- package/dist-types/ts3.4/commands/DetectModerationLabelsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DetectProtectiveEquipmentCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/DetectTextCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/GetCelebrityInfoCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetCelebrityRecognitionCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/GetContentModerationCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetFaceDetectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetFaceSearchCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/GetLabelDetectionCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/GetPersonTrackingCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/GetSegmentDetectionCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/GetTextDetectionCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/IndexFacesCommand.d.ts +2 -119
- package/dist-types/ts3.4/commands/ListCollectionsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListFacesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListStreamProcessorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RecognizeCelebritiesCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/SearchFacesByImageCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/SearchFacesCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/index.d.ts +5 -69
- package/dist-types/ts3.4/models/models_0.d.ts +856 -3431
- package/dist-types/ts3.4/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForProjectVersionRunning.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForProjectVersionTrainingCompleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +33 -33
|
@@ -6,58 +6,11 @@ export interface GetContentModerationCommandInput extends GetContentModerationRe
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetContentModerationCommandOutput extends GetContentModerationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the inappropriate, unwanted, or offensive content analysis results for a Amazon Rekognition Video analysis started by
|
|
11
|
-
* <a>StartContentModeration</a>. For a list of moderation labels in Amazon Rekognition, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html#moderation-api">Using the image and video moderation APIs</a>.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>Amazon Rekognition Video inappropriate or offensive content detection in a stored video is an asynchronous operation. You start analysis by calling
|
|
15
|
-
* <a>StartContentModeration</a> which returns a job identifier (<code>JobId</code>).
|
|
16
|
-
* When analysis finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service
|
|
17
|
-
* topic registered in the initial call to <code>StartContentModeration</code>.
|
|
18
|
-
* To get the results of the content analysis, first check that the status value published to the Amazon SNS
|
|
19
|
-
* topic is <code>SUCCEEDED</code>. If so, call <code>GetContentModeration</code> and pass the job identifier
|
|
20
|
-
* (<code>JobId</code>) from the initial call to <code>StartContentModeration</code>. </p>
|
|
21
|
-
*
|
|
22
|
-
* <p>For more information, see Working with Stored Videos in the
|
|
23
|
-
* Amazon Rekognition Devlopers Guide.</p>
|
|
24
|
-
* <p>
|
|
25
|
-
* <code>GetContentModeration</code> returns detected inappropriate, unwanted, or offensive content moderation labels,
|
|
26
|
-
* and the time they are detected, in an array, <code>ModerationLabels</code>, of
|
|
27
|
-
* <a>ContentModerationDetection</a> objects.
|
|
28
|
-
* </p>
|
|
29
|
-
* <p>By default, the moderated labels are returned sorted by time, in milliseconds from the start of the
|
|
30
|
-
* video. You can also sort them by moderated label by specifying <code>NAME</code> for the <code>SortBy</code>
|
|
31
|
-
* input parameter. </p>
|
|
32
|
-
* <p>Since video analysis can return a large number of results, use the <code>MaxResults</code> parameter to limit
|
|
33
|
-
* the number of labels returned in a single call to <code>GetContentModeration</code>. If there are more results than
|
|
34
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a
|
|
35
|
-
* pagination token for getting the next set of results. To get the next page of results, call <code>GetContentModeration</code>
|
|
36
|
-
* and populate the <code>NextToken</code> request parameter with the value of <code>NextToken</code>
|
|
37
|
-
* returned from the previous call to <code>GetContentModeration</code>.</p>
|
|
38
|
-
*
|
|
39
|
-
* <p>For more information, see Content moderation in the Amazon Rekognition Developer Guide.</p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { RekognitionClient, GetContentModerationCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
44
|
-
* // const { RekognitionClient, GetContentModerationCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
45
|
-
* const client = new RekognitionClient(config);
|
|
46
|
-
* const command = new GetContentModerationCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link GetContentModerationCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link GetContentModerationCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
9
|
+
|
|
55
10
|
export declare class GetContentModerationCommand extends $Command<GetContentModerationCommandInput, GetContentModerationCommandOutput, RekognitionClientResolvedConfig> {
|
|
56
11
|
readonly input: GetContentModerationCommandInput;
|
|
57
12
|
constructor(input: GetContentModerationCommandInput);
|
|
58
|
-
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
13
|
+
|
|
61
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContentModerationCommandInput, GetContentModerationCommandOutput>;
|
|
62
15
|
private serialize;
|
|
63
16
|
private deserialize;
|
|
@@ -6,41 +6,11 @@ export interface GetFaceDetectionCommandInput extends GetFaceDetectionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetFaceDetectionCommandOutput extends GetFaceDetectionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets face detection results for a Amazon Rekognition Video analysis started by <a>StartFaceDetection</a>.</p>
|
|
11
|
-
* <p>Face detection with Amazon Rekognition Video is an asynchronous operation. You start face detection by calling <a>StartFaceDetection</a>
|
|
12
|
-
* which returns a job identifier (<code>JobId</code>). When the face detection operation finishes, Amazon Rekognition Video publishes a completion status to
|
|
13
|
-
* the Amazon Simple Notification Service topic registered in the initial call to <code>StartFaceDetection</code>. To get the results
|
|
14
|
-
* of the face detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
15
|
-
* If so, call <a>GetFaceDetection</a> and pass the job identifier
|
|
16
|
-
* (<code>JobId</code>) from the initial call to <code>StartFaceDetection</code>.</p>
|
|
17
|
-
* <p>
|
|
18
|
-
* <code>GetFaceDetection</code> returns an array of detected faces (<code>Faces</code>) sorted by the time the faces were detected. </p>
|
|
19
|
-
* <p>Use MaxResults parameter to limit the number of labels returned. If there are more results than
|
|
20
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
|
|
21
|
-
* of results. To get the next page of results, call <code>GetFaceDetection</code> and populate the <code>NextToken</code> request parameter with the token
|
|
22
|
-
* value returned from the previous call to <code>GetFaceDetection</code>.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { RekognitionClient, GetFaceDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
27
|
-
* // const { RekognitionClient, GetFaceDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
28
|
-
* const client = new RekognitionClient(config);
|
|
29
|
-
* const command = new GetFaceDetectionCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link GetFaceDetectionCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link GetFaceDetectionCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
9
|
+
|
|
38
10
|
export declare class GetFaceDetectionCommand extends $Command<GetFaceDetectionCommandInput, GetFaceDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
39
11
|
readonly input: GetFaceDetectionCommandInput;
|
|
40
12
|
constructor(input: GetFaceDetectionCommandInput);
|
|
41
|
-
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
13
|
+
|
|
44
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFaceDetectionCommandInput, GetFaceDetectionCommandOutput>;
|
|
45
15
|
private serialize;
|
|
46
16
|
private deserialize;
|
|
@@ -6,59 +6,11 @@ export interface GetFaceSearchCommandInput extends GetFaceSearchRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetFaceSearchCommandOutput extends GetFaceSearchResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the face search results for Amazon Rekognition Video face search started by
|
|
11
|
-
* <a>StartFaceSearch</a>. The search returns faces in a collection that match the faces
|
|
12
|
-
* of persons detected in a video. It also includes the time(s) that faces are matched in the video.</p>
|
|
13
|
-
* <p>Face search in a video is an asynchronous operation. You start face search by calling
|
|
14
|
-
* to <a>StartFaceSearch</a> which returns a job identifier (<code>JobId</code>).
|
|
15
|
-
* When the search operation finishes, Amazon Rekognition Video publishes a completion status to the Amazon Simple Notification Service
|
|
16
|
-
* topic registered in the initial call to <code>StartFaceSearch</code>.
|
|
17
|
-
* To get the search results, first check that the status value published to the Amazon SNS
|
|
18
|
-
* topic is <code>SUCCEEDED</code>. If so, call <code>GetFaceSearch</code> and pass the job identifier
|
|
19
|
-
* (<code>JobId</code>) from the initial call to <code>StartFaceSearch</code>.</p>
|
|
20
|
-
*
|
|
21
|
-
* <p>For more information, see Searching Faces in a Collection in the
|
|
22
|
-
* Amazon Rekognition Developer Guide.</p>
|
|
23
|
-
* <p>The search results are retured in an array, <code>Persons</code>, of
|
|
24
|
-
* <a>PersonMatch</a> objects. Each<code>PersonMatch</code> element contains
|
|
25
|
-
* details about the matching faces in the input collection, person information (facial attributes,
|
|
26
|
-
* bounding boxes, and person identifer)
|
|
27
|
-
* for the matched person, and the time the person was matched in the video.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>
|
|
30
|
-
* <code>GetFaceSearch</code> only returns the default
|
|
31
|
-
* facial attributes (<code>BoundingBox</code>, <code>Confidence</code>,
|
|
32
|
-
* <code>Landmarks</code>, <code>Pose</code>, and <code>Quality</code>). The other facial attributes listed
|
|
33
|
-
* in the <code>Face</code> object of the following response syntax are not returned. For more information,
|
|
34
|
-
* see FaceDetail in the Amazon Rekognition Developer Guide. </p>
|
|
35
|
-
* </note>
|
|
36
|
-
*
|
|
37
|
-
* <p>By default, the <code>Persons</code> array is sorted by the time, in milliseconds from the
|
|
38
|
-
* start of the video, persons are matched.
|
|
39
|
-
* You can also sort by persons by specifying <code>INDEX</code> for the <code>SORTBY</code> input
|
|
40
|
-
* parameter.</p>
|
|
41
|
-
* @example
|
|
42
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
-
* ```javascript
|
|
44
|
-
* import { RekognitionClient, GetFaceSearchCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
45
|
-
* // const { RekognitionClient, GetFaceSearchCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
46
|
-
* const client = new RekognitionClient(config);
|
|
47
|
-
* const command = new GetFaceSearchCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link GetFaceSearchCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link GetFaceSearchCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
9
|
+
|
|
56
10
|
export declare class GetFaceSearchCommand extends $Command<GetFaceSearchCommandInput, GetFaceSearchCommandOutput, RekognitionClientResolvedConfig> {
|
|
57
11
|
readonly input: GetFaceSearchCommandInput;
|
|
58
12
|
constructor(input: GetFaceSearchCommandInput);
|
|
59
|
-
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
13
|
+
|
|
62
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFaceSearchCommandInput, GetFaceSearchCommandOutput>;
|
|
63
15
|
private serialize;
|
|
64
16
|
private deserialize;
|
|
@@ -6,49 +6,11 @@ export interface GetLabelDetectionCommandInput extends GetLabelDetectionRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetLabelDetectionCommandOutput extends GetLabelDetectionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the label detection results of a Amazon Rekognition Video analysis started by <a>StartLabelDetection</a>. </p>
|
|
11
|
-
*
|
|
12
|
-
* <p>The label detection operation is started by a call to <a>StartLabelDetection</a>
|
|
13
|
-
* which returns a job identifier (<code>JobId</code>). When the label detection operation finishes, Amazon Rekognition publishes a completion status to
|
|
14
|
-
* the Amazon Simple Notification Service topic registered in the initial call to <code>StartlabelDetection</code>. To get the results
|
|
15
|
-
* of the label detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
16
|
-
* If so, call <a>GetLabelDetection</a> and pass the job identifier
|
|
17
|
-
* (<code>JobId</code>) from the initial call to <code>StartLabelDetection</code>.</p>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>GetLabelDetection</code> returns an array of detected labels (<code>Labels</code>) sorted by the time
|
|
20
|
-
* the labels were detected. You can also sort by the label name by specifying <code>NAME</code> for the
|
|
21
|
-
* <code>SortBy</code> input parameter.</p>
|
|
22
|
-
* <p>The labels returned include the label name, the percentage confidence in the accuracy of the detected label,
|
|
23
|
-
* and the time the label was detected in the video.</p>
|
|
24
|
-
* <p>The returned labels also include bounding box information for common objects, a
|
|
25
|
-
* hierarchical taxonomy of detected labels, and the version of the label model used for detection.</p>
|
|
26
|
-
*
|
|
27
|
-
* <p>Use MaxResults parameter to limit the number of labels returned. If there are more results than
|
|
28
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
|
|
29
|
-
* of results. To get the next page of results, call <code>GetlabelDetection</code> and populate the <code>NextToken</code> request parameter with the token
|
|
30
|
-
* value returned from the previous call to <code>GetLabelDetection</code>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { RekognitionClient, GetLabelDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
35
|
-
* // const { RekognitionClient, GetLabelDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
36
|
-
* const client = new RekognitionClient(config);
|
|
37
|
-
* const command = new GetLabelDetectionCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetLabelDetectionCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetLabelDetectionCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
9
|
+
|
|
46
10
|
export declare class GetLabelDetectionCommand extends $Command<GetLabelDetectionCommandInput, GetLabelDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
47
11
|
readonly input: GetLabelDetectionCommandInput;
|
|
48
12
|
constructor(input: GetLabelDetectionCommandInput);
|
|
49
|
-
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
13
|
+
|
|
52
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLabelDetectionCommandInput, GetLabelDetectionCommandOutput>;
|
|
53
15
|
private serialize;
|
|
54
16
|
private deserialize;
|
|
@@ -6,58 +6,11 @@ export interface GetPersonTrackingCommandInput extends GetPersonTrackingRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetPersonTrackingCommandOutput extends GetPersonTrackingResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the path tracking results of a Amazon Rekognition Video analysis started by <a>StartPersonTracking</a>.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>The person path tracking operation is started by a call to <code>StartPersonTracking</code>
|
|
13
|
-
* which returns a job identifier (<code>JobId</code>). When the operation finishes, Amazon Rekognition Video publishes a completion status to
|
|
14
|
-
* the Amazon Simple Notification Service topic registered in the initial call to <code>StartPersonTracking</code>.</p>
|
|
15
|
-
* <p>To get the results of the person path tracking operation, first check
|
|
16
|
-
* that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
17
|
-
* If so, call <a>GetPersonTracking</a> and pass the job identifier
|
|
18
|
-
* (<code>JobId</code>) from the initial call to <code>StartPersonTracking</code>.</p>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>GetPersonTracking</code> returns an array, <code>Persons</code>, of tracked persons and the time(s) their
|
|
21
|
-
* paths were tracked in the video. </p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <p>
|
|
24
|
-
* <code>GetPersonTracking</code> only returns the default
|
|
25
|
-
* facial attributes (<code>BoundingBox</code>, <code>Confidence</code>,
|
|
26
|
-
* <code>Landmarks</code>, <code>Pose</code>, and <code>Quality</code>). The other facial attributes listed
|
|
27
|
-
* in the <code>Face</code> object of the following response syntax are not returned. </p>
|
|
28
|
-
*
|
|
29
|
-
* <p>For more information, see FaceDetail in the Amazon Rekognition Developer Guide.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* <p>By default, the array is sorted by the time(s) a person's path is tracked in the video.
|
|
34
|
-
* You can sort by tracked persons by specifying <code>INDEX</code> for the <code>SortBy</code> input parameter.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>Use the <code>MaxResults</code> parameter to limit the number of items returned. If there are more results than
|
|
37
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains a pagination token for getting the next set
|
|
38
|
-
* of results. To get the next page of results, call <code>GetPersonTracking</code> and populate the <code>NextToken</code> request parameter with the token
|
|
39
|
-
* value returned from the previous call to <code>GetPersonTracking</code>.</p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { RekognitionClient, GetPersonTrackingCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
44
|
-
* // const { RekognitionClient, GetPersonTrackingCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
45
|
-
* const client = new RekognitionClient(config);
|
|
46
|
-
* const command = new GetPersonTrackingCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link GetPersonTrackingCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link GetPersonTrackingCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
9
|
+
|
|
55
10
|
export declare class GetPersonTrackingCommand extends $Command<GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput, RekognitionClientResolvedConfig> {
|
|
56
11
|
readonly input: GetPersonTrackingCommandInput;
|
|
57
12
|
constructor(input: GetPersonTrackingCommandInput);
|
|
58
|
-
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
13
|
+
|
|
61
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPersonTrackingCommandInput, GetPersonTrackingCommandOutput>;
|
|
62
15
|
private serialize;
|
|
63
16
|
private deserialize;
|
|
@@ -6,51 +6,11 @@ export interface GetSegmentDetectionCommandInput extends GetSegmentDetectionRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetSegmentDetectionCommandOutput extends GetSegmentDetectionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the segment detection results of a Amazon Rekognition Video analysis started by <a>StartSegmentDetection</a>.</p>
|
|
11
|
-
* <p>Segment detection with Amazon Rekognition Video is an asynchronous operation. You start segment detection by
|
|
12
|
-
* calling <a>StartSegmentDetection</a> which returns a job identifier (<code>JobId</code>).
|
|
13
|
-
* When the segment detection operation finishes, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service
|
|
14
|
-
* topic registered in the initial call to <code>StartSegmentDetection</code>. To get the results
|
|
15
|
-
* of the segment detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
16
|
-
* if so, call <code>GetSegmentDetection</code> and pass the job identifier (<code>JobId</code>) from the initial call
|
|
17
|
-
* of <code>StartSegmentDetection</code>.</p>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>GetSegmentDetection</code> returns detected segments in an array (<code>Segments</code>)
|
|
20
|
-
* of <a>SegmentDetection</a> objects. <code>Segments</code> is sorted by the segment types
|
|
21
|
-
* specified in the <code>SegmentTypes</code> input parameter of <code>StartSegmentDetection</code>.
|
|
22
|
-
* Each element of the array includes the detected segment, the precentage confidence in the acuracy
|
|
23
|
-
* of the detected segment, the type of the segment, and the frame in which the segment was detected.</p>
|
|
24
|
-
* <p>Use <code>SelectedSegmentTypes</code> to find out the type of segment detection requested in the
|
|
25
|
-
* call to <code>StartSegmentDetection</code>.</p>
|
|
26
|
-
* <p>Use the <code>MaxResults</code> parameter to limit the number of segment detections returned. If there are more results than
|
|
27
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains
|
|
28
|
-
* a pagination token for getting the next set of results. To get the next page of results, call <code>GetSegmentDetection</code>
|
|
29
|
-
* and populate the <code>NextToken</code> request parameter with the token value returned from the previous
|
|
30
|
-
* call to <code>GetSegmentDetection</code>.</p>
|
|
31
|
-
*
|
|
32
|
-
* <p>For more information, see Detecting Video Segments in Stored Video in the Amazon Rekognition Developer Guide.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { RekognitionClient, GetSegmentDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
37
|
-
* // const { RekognitionClient, GetSegmentDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
38
|
-
* const client = new RekognitionClient(config);
|
|
39
|
-
* const command = new GetSegmentDetectionCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link GetSegmentDetectionCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link GetSegmentDetectionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
9
|
+
|
|
48
10
|
export declare class GetSegmentDetectionCommand extends $Command<GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
49
11
|
readonly input: GetSegmentDetectionCommandInput;
|
|
50
12
|
constructor(input: GetSegmentDetectionCommandInput);
|
|
51
|
-
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
13
|
+
|
|
54
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentDetectionCommandInput, GetSegmentDetectionCommandOutput>;
|
|
55
15
|
private serialize;
|
|
56
16
|
private deserialize;
|
|
@@ -6,47 +6,11 @@ export interface GetTextDetectionCommandInput extends GetTextDetectionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetTextDetectionCommandOutput extends GetTextDetectionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets the text detection results of a Amazon Rekognition Video analysis started by <a>StartTextDetection</a>.</p>
|
|
11
|
-
* <p>Text detection with Amazon Rekognition Video is an asynchronous operation. You start text detection by
|
|
12
|
-
* calling <a>StartTextDetection</a> which returns a job identifier (<code>JobId</code>)
|
|
13
|
-
* When the text detection operation finishes, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service
|
|
14
|
-
* topic registered in the initial call to <code>StartTextDetection</code>. To get the results
|
|
15
|
-
* of the text detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
16
|
-
* if so, call <code>GetTextDetection</code> and pass the job identifier (<code>JobId</code>) from the initial call
|
|
17
|
-
* of <code>StartLabelDetection</code>.</p>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>GetTextDetection</code> returns an array of detected text (<code>TextDetections</code>) sorted by
|
|
20
|
-
* the time the text was detected, up to 50 words per frame of video.</p>
|
|
21
|
-
* <p>Each element of the array includes the detected text, the precentage confidence in the acuracy
|
|
22
|
-
* of the detected text, the time the text was detected, bounding box information for where the text
|
|
23
|
-
* was located, and unique identifiers for words and their lines.</p>
|
|
24
|
-
* <p>Use MaxResults parameter to limit the number of text detections returned. If there are more results than
|
|
25
|
-
* specified in <code>MaxResults</code>, the value of <code>NextToken</code> in the operation response contains
|
|
26
|
-
* a pagination token for getting the next set of results. To get the next page of results, call <code>GetTextDetection</code>
|
|
27
|
-
* and populate the <code>NextToken</code> request parameter with the token value returned from the previous
|
|
28
|
-
* call to <code>GetTextDetection</code>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { RekognitionClient, GetTextDetectionCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
33
|
-
* // const { RekognitionClient, GetTextDetectionCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
34
|
-
* const client = new RekognitionClient(config);
|
|
35
|
-
* const command = new GetTextDetectionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link GetTextDetectionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link GetTextDetectionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
9
|
+
|
|
44
10
|
export declare class GetTextDetectionCommand extends $Command<GetTextDetectionCommandInput, GetTextDetectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
45
11
|
readonly input: GetTextDetectionCommandInput;
|
|
46
12
|
constructor(input: GetTextDetectionCommandInput);
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
13
|
+
|
|
50
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTextDetectionCommandInput, GetTextDetectionCommandOutput>;
|
|
51
15
|
private serialize;
|
|
52
16
|
private deserialize;
|
|
@@ -6,128 +6,11 @@ export interface IndexFacesCommandInput extends IndexFacesRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Detects faces in the input image and adds them to the specified collection. </p>
|
|
11
|
-
* <p>Amazon Rekognition doesn't save the actual faces that are detected. Instead, the underlying
|
|
12
|
-
* detection algorithm first detects the faces in the input image. For each face, the algorithm
|
|
13
|
-
* extracts facial features into a feature vector, and stores it in the backend database.
|
|
14
|
-
* Amazon Rekognition uses feature vectors when it performs face match and search operations using the
|
|
15
|
-
* <a>SearchFaces</a> and <a>SearchFacesByImage</a>
|
|
16
|
-
* operations.</p>
|
|
17
|
-
*
|
|
18
|
-
* <p>For more information, see Adding Faces to a Collection in the Amazon Rekognition
|
|
19
|
-
* Developer Guide.</p>
|
|
20
|
-
* <p>To get the number of faces in a collection, call <a>DescribeCollection</a>. </p>
|
|
21
|
-
*
|
|
22
|
-
* <p>If you're using version 1.0 of the face detection model, <code>IndexFaces</code>
|
|
23
|
-
* indexes the 15 largest faces in the input image. Later versions of the face detection model
|
|
24
|
-
* index the 100 largest faces in the input image. </p>
|
|
25
|
-
* <p>If you're using version 4 or later of the face model, image orientation information
|
|
26
|
-
* is not returned in the <code>OrientationCorrection</code> field. </p>
|
|
27
|
-
* <p>To determine which version of the model you're using, call <a>DescribeCollection</a>
|
|
28
|
-
* and supply the collection ID. You can also get the model version from the value of <code>FaceModelVersion</code> in the response
|
|
29
|
-
* from <code>IndexFaces</code>
|
|
30
|
-
* </p>
|
|
31
|
-
*
|
|
32
|
-
* <p>For more information, see Model Versioning in the Amazon Rekognition Developer
|
|
33
|
-
* Guide.</p>
|
|
34
|
-
* <p>If you provide the optional <code>ExternalImageId</code> for the input image you
|
|
35
|
-
* 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
|
|
36
|
-
* external image ID to create a client-side index to associate the faces with each image. You
|
|
37
|
-
* can then use the index to find all faces in an image.</p>
|
|
38
|
-
* <p>You can specify the maximum number of faces to index with the <code>MaxFaces</code> input
|
|
39
|
-
* parameter. This is useful when you want to index the largest faces in an image and don't want to index
|
|
40
|
-
* smaller faces, such as those belonging to people standing in the background.</p>
|
|
41
|
-
* <p>The <code>QualityFilter</code> input parameter allows you to filter out detected faces
|
|
42
|
-
* that don’t meet a required quality bar. The quality bar is based on a
|
|
43
|
-
* variety of common use cases. By default, <code>IndexFaces</code> chooses the quality bar that's
|
|
44
|
-
* used to filter faces. You can also explicitly choose
|
|
45
|
-
* the quality bar. Use <code>QualityFilter</code>, to set the quality bar
|
|
46
|
-
* by specifying <code>LOW</code>, <code>MEDIUM</code>, or <code>HIGH</code>.
|
|
47
|
-
* If you do not want to filter detected faces, specify <code>NONE</code>. </p>
|
|
48
|
-
* <note>
|
|
49
|
-
* <p>To use quality filtering, you need a collection associated with version 3 of the
|
|
50
|
-
* face model or higher. To get the version of the face model associated with a collection, call
|
|
51
|
-
* <a>DescribeCollection</a>. </p>
|
|
52
|
-
* </note>
|
|
53
|
-
* <p>Information about faces detected in an image, but not indexed, is returned in an array of
|
|
54
|
-
* <a>UnindexedFace</a> objects, <code>UnindexedFaces</code>. Faces aren't
|
|
55
|
-
* indexed for reasons such as:</p>
|
|
56
|
-
* <ul>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>The number of faces detected exceeds the value of the <code>MaxFaces</code> request
|
|
59
|
-
* parameter.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>The face is too small compared to the image dimensions.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>The face is too blurry.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>The image is too dark.</p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>The face has an extreme pose.</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>The face doesn’t have enough detail to be suitable for face search.</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* </ul>
|
|
77
|
-
* <p>In response, the <code>IndexFaces</code> operation returns an array of metadata for
|
|
78
|
-
* all detected faces, <code>FaceRecords</code>. This includes: </p>
|
|
79
|
-
* <ul>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>The bounding box, <code>BoundingBox</code>, of the detected face. </p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>A confidence value, <code>Confidence</code>, which indicates the confidence that the
|
|
85
|
-
* bounding box contains a face.</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>A face ID, <code>FaceId</code>, assigned by the service for each face that's detected
|
|
89
|
-
* and stored.</p>
|
|
90
|
-
* </li>
|
|
91
|
-
* <li>
|
|
92
|
-
* <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p>
|
|
93
|
-
* </li>
|
|
94
|
-
* </ul>
|
|
95
|
-
* <p>If you request all facial attributes (by using the <code>detectionAttributes</code>
|
|
96
|
-
* parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for
|
|
97
|
-
* example, location of eye and mouth) and other facial attributes. If you provide
|
|
98
|
-
* the same image, specify the same collection, and use the same external ID in the
|
|
99
|
-
* <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p>
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* <p></p>
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
* <p>The input image is passed either as base64-encoded image bytes, or as a reference to an
|
|
106
|
-
* image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations,
|
|
107
|
-
* passing image bytes isn't supported. The image must be formatted as a PNG or JPEG file. </p>
|
|
108
|
-
* <p>This operation requires permissions to perform the <code>rekognition:IndexFaces</code>
|
|
109
|
-
* action.</p>
|
|
110
|
-
* @example
|
|
111
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
112
|
-
* ```javascript
|
|
113
|
-
* import { RekognitionClient, IndexFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
114
|
-
* // const { RekognitionClient, IndexFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
115
|
-
* const client = new RekognitionClient(config);
|
|
116
|
-
* const command = new IndexFacesCommand(input);
|
|
117
|
-
* const response = await client.send(command);
|
|
118
|
-
* ```
|
|
119
|
-
*
|
|
120
|
-
* @see {@link IndexFacesCommandInput} for command's `input` shape.
|
|
121
|
-
* @see {@link IndexFacesCommandOutput} for command's `response` shape.
|
|
122
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
9
|
+
|
|
125
10
|
export declare class IndexFacesCommand extends $Command<IndexFacesCommandInput, IndexFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
126
11
|
readonly input: IndexFacesCommandInput;
|
|
127
12
|
constructor(input: IndexFacesCommandInput);
|
|
128
|
-
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
13
|
+
|
|
131
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<IndexFacesCommandInput, IndexFacesCommandOutput>;
|
|
132
15
|
private serialize;
|
|
133
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface ListCollectionsCommandInput extends ListCollectionsRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListCollectionsCommandOutput extends ListCollectionsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns list of collection IDs in your account.
|
|
11
|
-
* If the result is truncated, the response also provides a <code>NextToken</code>
|
|
12
|
-
* that you can use in the subsequent request to fetch the next set of collection IDs.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>For an example, see Listing Collections in the Amazon Rekognition Developer Guide.</p>
|
|
15
|
-
* <p>This operation requires permissions to perform the <code>rekognition:ListCollections</code> action.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { RekognitionClient, ListCollectionsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
20
|
-
* // const { RekognitionClient, ListCollectionsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
21
|
-
* const client = new RekognitionClient(config);
|
|
22
|
-
* const command = new ListCollectionsCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link ListCollectionsCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link ListCollectionsCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class ListCollectionsCommand extends $Command<ListCollectionsCommandInput, ListCollectionsCommandOutput, RekognitionClientResolvedConfig> {
|
|
32
11
|
readonly input: ListCollectionsCommandInput;
|
|
33
12
|
constructor(input: ListCollectionsCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCollectionsCommandInput, ListCollectionsCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface ListFacesCommandInput extends ListFacesRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns metadata for faces in the specified collection.
|
|
11
|
-
* This metadata includes information such as the bounding box coordinates, the confidence
|
|
12
|
-
* (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection
|
|
13
|
-
* in the Amazon Rekognition Developer Guide.</p>
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* <p>This operation requires permissions to perform the
|
|
17
|
-
* <code>rekognition:ListFaces</code> action.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { RekognitionClient, ListFacesCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
22
|
-
* // const { RekognitionClient, ListFacesCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
23
|
-
* const client = new RekognitionClient(config);
|
|
24
|
-
* const command = new ListFacesCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListFacesCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListFacesCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class ListFacesCommand extends $Command<ListFacesCommandInput, ListFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
34
11
|
readonly input: ListFacesCommandInput;
|
|
35
12
|
constructor(input: ListFacesCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFacesCommandInput, ListFacesCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface ListStreamProcessorsCommandInput extends ListStreamProcessorsRe
|
|
|
6
6
|
}
|
|
7
7
|
export interface ListStreamProcessorsCommandOutput extends ListStreamProcessorsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Gets a list of stream processors that you have created with <a>CreateStreamProcessor</a>. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { RekognitionClient, ListStreamProcessorsCommand } from "@aws-sdk/client-rekognition"; // ES Modules import
|
|
15
|
-
* // const { RekognitionClient, ListStreamProcessorsCommand } = require("@aws-sdk/client-rekognition"); // CommonJS import
|
|
16
|
-
* const client = new RekognitionClient(config);
|
|
17
|
-
* const command = new ListStreamProcessorsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListStreamProcessorsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListStreamProcessorsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RekognitionClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ListStreamProcessorsCommand extends $Command<ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput, RekognitionClientResolvedConfig> {
|
|
27
11
|
readonly input: ListStreamProcessorsCommandInput;
|
|
28
12
|
constructor(input: ListStreamProcessorsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStreamProcessorsCommandInput, ListStreamProcessorsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|