liveness-detection icon indicating copy to clipboard operation
liveness-detection copied to clipboard

Issue on devices with camera resolution > viewport

Open athewsey opened this issue 5 years ago • 1 comments

Hi team,

From what I can tell, this solution seems to load the media stream for the web client at raw dimensions regardless of the page size. In situations where the camera has high resolution relative to the screen size (e.g. mobile browsers) this causes the page to overflow and seems to somehow break the maths of the challenge in some cases - struggling to get to green box or recognise nose placed in the yellow box.

Observed on Android devices, emulated iPhone, and laptop Firefox and Chrome (by reducing the browser window to minimum width)

athewsey avatar Aug 13 '21 09:08 athewsey

Hi @athewsey. The repo contains a sample web app that is not optimized for small screens. It was always meant to be a sample client without refinements necessary as a production client. I agree that that was not clear in the README. I changed the README to make that more clear.

rafaelwmartins avatar Sep 17 '21 14:09 rafaelwmartins