Skip to content

Commit

Permalink
feat(rekognitionstreaming): add oval fit timeout configuration option
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored and trivikr committed Aug 23, 2023
1 parent 1a0580b commit 52de540
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 85 deletions.
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
2 changes: 2 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,8 @@ export interface ChallengeConfig {
* <p> Threshold for height during face IOU (Intersection over Union) match.</p>
*/
FaceIouHeightThreshold?: number;

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

0 comments on commit 52de540

Please sign in to comment.