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 (rebased) #67

Closed Tobias-Fischer closed 4 years ago

Tobias-Fischer commented 4 years ago

See #66 - this version is based on the master rather than pytorch branch:

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