Tobias-Fischer / rt_gene

RT-GENE: Real-Time Eye Gaze and Blink Estimation in Natural Environments
http://www.imperial.ac.uk/personal-robotics
Other
365 stars 68 forks source link

Face align #66

Closed ahmed-alhindawi closed 4 years ago

ahmed-alhindawi commented 4 years ago

Following the change from the previous face detector that would automatically axis-align the face to one that doesn't, the eye patches have become inconsistent as the roll of the head changes significantly from zero.

This branch corrects that by affine transforming the face image based on eye landmarks to better extract the eye patches.

It's done at minimal cost; the standalone and the ros nodes continue to work as expected

Tobias-Fischer commented 4 years ago

I'm closing this in favour of #67 as this will be easier to review.