aws-amplify / aws-amplify/amplify-ui-android

Face Liveness Detection Returns Low Confidence Scores in Bright Sunlight.

Open
#243 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Kotlin
Stars
25
Forks
18
Avg merge
7d 3h
Merged PRs (30d)
1

Description

Face Liveness Detection yields significantly lower confidence scores (<80%) in environments with bright sunlight, despite achieving near-perfect scores (99.99%) in normal indoor lighting. This behavior appears to result from overexposure or glare interfering with the camera input, reducing the model’s ability to assess liveness accurately.

**Expected behavior**
Confidence scores should remain consistently high (>90%) across varying lighting conditions. Alternatively, the SDK should guide users to adjust their environment (e.g., move to shade or avoid backlighting) to improve detection reliability.

**Found on : Latest version**
com.amplifyframework.ui:authenticator v1.5.0
com.amplifyframework.ui:liveness v1.4.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the liveness check in bright sunlight and indoors using com.amplifyframework.ui:authenticator v1.5.0 and com.amplifyframework.ui:liveness v1.4.2, then compare confidence scores and camera conditions. Determine whether the SDK can improve reliability or should provide environmental guidance; done means reliable scores above 90% or clear user guidance across the reported lighting conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, aws, kotlin
Domain
authentication, mobile, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.