A computational model of face perception