psychological tests in php for emotion recognition through images