Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why doesn't emotion classification work as specified?

I went through the Gender classification tutorial from openCV, http://docs.opencv.org/modules/contrib/doc/facerec/tutorial/facerec_gender_classification.html. I need to do emotion classification for which they say, "If you want to do emotion classification instead of gender classification, all you need to do is to update is your training data and the configuration you pass to the demo" . I used a dataset with 16 images each for happy and sad emotions. Happy dataset includes faces of happy men,women,kids and elders. Similarly sad dataset as well. But when I tested this on 4 images all 4 went wrong. What other changes should I do apart from the dataset as said in the link by, "configurations you pass to the demo". What configurations should I change from the gender classification example facerec_fisherfaces.cpp? I am new to OpenCV. Please help.