keijiro / FaceMeshBarracuda

Lightweight facial capture package for Unity
Apache License 2.0
482 stars 90 forks source link

Is it possible to use 16:9 ratio of webcam input #16

Closed tszyeung closed 2 years ago

tszyeung commented 2 years ago

I've tried to change the input webcam resolution to 1920x1080, but the mesh position is incorrect and it is seems only crop the center part for the face detection processing. Also, the detection is not as smooth as the sample.

keijiro commented 2 years ago

The MediaPipe models are implemented for 1:1 rectangular image inputs, so you only can use 1:1 images.