esimov / pigo

Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WASM Demo features toggled with keys fail

muse254 opened this issue · comments

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

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

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