Geometric and photometric head modelingfor facial analysis technologies