kurnianggoro / GSOC2017

130 stars 103 forks source link

LBF model's Landmark goes extreme outward whenever brightness is more on face. #4

Open vasanthhr opened 4 years ago

vasanthhr commented 4 years ago

Hello, I have used opencv C++ code and trained model available in GSOC2017 github(lbfmodel.yaml), and loaded this model and tested .

But landmark goes outward whenever brightness is more on face. Please guide me how we can solve this brightness issues and Is there anyway we can avoid this Landmark to go outward?.

(FYI: Landmark will go extreme outward sometimes).

Model is taken from this link: https://github.com/kurnianggoro/GSOC2017/blob/master/data/lbfmodel.yaml

Please find attached image

Landmark

kurnianggoro commented 4 years ago

You can try to perform pre-processing on your input image using an image enhancement method such as histogram equalization, contrast adjustment, gamma correction, etc. Alternatively, you may need to retrain the model, check this tutorial.