Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client-rekognitionstreaming): add oval fit timeout configuration option #5132

Merged
merged 3 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export interface StartFaceLivenessSessionCommandOutput extends StartFaceLiveness
* <p>The maximum video size for Face Liveness is 10 MB. Face Liveness throws a
* <code>ValidationException</code> if the video does not match the necessary formatting and
* size parameters. </p>
* <p>StartFaceLivenessSession supports the websockets and <a href="https://aws.amazon.com/sdk-for-javascript/">the AWS SDK
* for JavaScript</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down Expand Up @@ -144,6 +146,7 @@ export interface StartFaceLivenessSessionCommandOutput extends StartFaceLiveness
* // OvalIouHeightThreshold: Number("float"),
* // FaceIouWidthThreshold: Number("float"),
* // FaceIouHeightThreshold: Number("float"),
* // OvalFitTimeout: Number("int"),
* // },
* // ColorSequences: [ // ColorSequences // required
* // { // ColorSequence
Expand Down
6 changes: 6 additions & 0 deletions clients/client-rekognitionstreaming/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ export interface ChallengeConfig {
* <p> Threshold for height during face IOU (Intersection over Union) match.</p>
*/
FaceIouHeightThreshold?: number;

/**
* @public
* <p>Timeout limit in which the end-users need to fit in the oval, in miliseconds.</p>
*/
OvalFitTimeout?: number;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
_json,
collectBody,
decorateServiceException as __decorateServiceException,
expectInt32 as __expectInt32,
expectString as __expectString,
expectUnion as __expectUnion,
limitedParseFloat32 as __limitedParseFloat32,
Expand Down Expand Up @@ -540,6 +541,7 @@ const de_ChallengeConfig = (output: any, context: __SerdeContext): ChallengeConf
FaceDistanceThresholdMin: __limitedParseFloat32,
FaceIouHeightThreshold: __limitedParseFloat32,
FaceIouWidthThreshold: __limitedParseFloat32,
OvalFitTimeout: __expectInt32,
OvalHeightWidthRatio: __limitedParseFloat32,
OvalIouHeightThreshold: __limitedParseFloat32,
OvalIouThreshold: __limitedParseFloat32,
Expand Down
Loading
Loading