esimov / pigo

Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
MIT License
4.37k stars 309 forks source link

WASM Demo features toggled with keys fail #54

Closed muse254 closed 2 years ago

muse254 commented 2 years ago

The demo documentation declares that there are supported keys: s - Show/hide pupils c - Circle through the detection shape types (rectangle|circle|ellipse) f - Show/hide facial landmark points (hidden by default)

On my local machine, the webcam streaming works and the fps is shown but the keys when pressed don't toggle the features mapped to them.

go version go1.17.2 linux/amd64 Browser: Firefox & Chrome

muse254 commented 2 years ago

I had room lighting issues. Works in a well lit room.

esimov commented 2 years ago

That's normal. It should work also in a dimmed light room too. You can adjust the parameters to your lightning conditions also.