Skip to content

Face Liveness confidence response weak on my app

0

On the AWS console i regularly score a confidence 95%> but the same frames when testing on my javascript app are regularly getting 77-84%. Why is that?

asked 2 years ago307 views

1 Answer
0

The discrepancy you're experiencing between the Face Liveness confidence scores on the AWS console and your JavaScript app could be due to several factors:

  1. Video quality: The quality of the video stream from your JavaScript app might be lower than what's being used in the AWS console tests. Factors like resolution, frame rate, and compression can affect the confidence score.

  2. Lighting conditions: If the lighting conditions are different between your app environment and the AWS console tests, it could impact the scores. Proper lighting is crucial for accurate face liveness detection.

  3. User positioning and movement: The way users position themselves or move during the liveness check in your app might differ from the controlled environment of the AWS console tests.

  4. Network latency: If there's significant network latency when your app is streaming the video to Amazon Rekognition, it could affect the quality of the frames being analyzed.

  5. Implementation differences: There might be subtle differences in how the liveness check is implemented in your app compared to the AWS console, which could affect the results.

To improve the scores in your app:

  1. Ensure you're using the latest version of the AWS Amplify SDK and following best practices for implementation.

  2. Provide clear instructions to users on optimal lighting and positioning.

  3. Check your video streaming quality and consider adjusting parameters if possible.

  4. Monitor network conditions and consider implementing retry logic for poor connections.

  5. If the issue persists, you may want to contact AWS support for more specific guidance tailored to your implementation.

Remember that Face Liveness is a probabilistic system, and some variation in scores is normal. It's important to set appropriate thresholds for your use case, considering both security needs and user experience.
Sources
Detecting face liveness - Amazon Rekognition
Face Liveness FAQ - Amazon Rekognition

answered 2 years ago

EXPERT

reviewed 2 years ago

  • the environment conditions are constant so it can't be the environment

  • versions:

    "@aws-amplify/ui-react": "^6.9.1",
    "@aws-amplify/ui-react-liveness": "^3.3.1",
    "@aws-sdk/client-amplify": "^3.744.0",
    "@aws-sdk/client-rekognition": "^3.744.0",
    "aws-amplify": "^6.13.0",
    

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.