-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I am implementing the @aws-amplify/ui-react-liveness (FaceLivenessDetector) component in my web application, and I have a requirement to reduce or attenuate the intensity of the feedback colors (green, red, blue, etc.) shown to users during the liveness process.
I have already tried the following:
Adjusting the config overlay and oval colors to be fully transparent or very soft.
Applying CSS filters (brightness, saturate, grayscale, etc.) directly to the canvas element.
Using a MutationObserver to re-apply styles whenever the canvas is recreated.
Even editing styles directly in the node_modules directory.
Unfortunately, none of these approaches work. The feedback colors rendered by the AWS SDK remain unchanged, which can be uncomfortable for some users.
My question:
Is there any supported or documented way to attenuate or customize the intensity of the feedback colors in the liveness video stream?
Is there an “accessibility mode” or a way to make the feedback less visually intense, or to apply a global style/filter to the video?
If not, is this behavior intentional for security reasons, and is there an official statement or workaround for users sensitive to bright colors?
Any guidance or confirmation from the AWS team would be greatly appreciated. Thank you!