Head pose estimation based on extended non-negative matrix factorization