alievk / avatarify-desktop

Successor of Avatarify Python
Creative Commons Zero v1.0 Universal
1.16k stars 265 forks source link

make it detect glasses #13

Open TrixTM opened 3 years ago

TrixTM commented 3 years ago

If i wear glasses it doesn't work

JohanAR commented 3 years ago

That's unfortunately not easily done when working with machine learning. One would need to extend the data set and train a new model, which would require both manual work and a lot of computing time. Avatarify uses a free model made by researchers, so switching to training one ourselves would be a very big investment.

Personally I have two pairs of glasses, one frameless that works much better with Avatarify than the pair I have with thick black frames. If you have multiple glasses, try a different pair.

Another thing you can try is to improve lighting conditions at your computer. More light on your face makes it easier for the detection algorithm to find your facial features. Also make sure there are no reflections (e.g. from a window) in the glasses that would make it impossible to detect your eyes.

TrixTM commented 3 years ago

Ok :)

TrixTM commented 3 years ago

My camera is at the bottom of my screen so that's a problem too