Skip to content

Commit 50ceedf

Browse files
authored
fix(ui-react-liveness): oval ratio multiplier (#6656)
1 parent a89cd48 commit 50ceedf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/twelve-bags-watch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@aws-amplify/ui-react-liveness': patch
3+
---
4+
5+
fix(ui-react-liveness): oval ratio multiplier

packages/react-liveness/src/components/FaceLivenessDetector/service/utils/liveness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export function drawStaticOval(
277277
const ovalDetails = getStaticLivenessOvalDetails({
278278
width: width!,
279279
height: height!,
280-
ratioMultiplier: 0.3,
280+
ratioMultiplier: 0.5,
281281
});
282282
ovalDetails.flippedCenterX = width! - ovalDetails.centerX;
283283

0 commit comments

Comments
 (0)