Skip to content

Commit

Permalink
chore: small oval
Browse files Browse the repository at this point in the history
  • Loading branch information
thaddmt committed Oct 5, 2023
1 parent a8f98ea commit c22c2cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function getOvalDetailsFromSessionInformation({
export function getStaticLivenessOvalDetails({
width,
height,
widthSeed = 1.1,
widthSeed = 1.0,
centerXSeed = 0.5,
centerYSeed = 0.5,
}: {
Expand Down Expand Up @@ -168,7 +168,7 @@ export function getStaticLivenessOvalDetails({
}

const ovalWidth = ovalRatio * videoWidth;
const ovalHeight = 1.618 * ovalWidth;
const ovalHeight = 1.333 * ovalWidth;

return {
flippedCenterX: Math.floor(centerX),
Expand Down

0 comments on commit c22c2cb

Please sign in to comment.