How to train a Support Vector Machine(svm) classifier with openCV with facial features?
I want to use the svm classifier for facial expression detection. I know opencv has a svm api, but I have no clue what should be the input to train the classifier. I have read many papers till now, all of them says after facial feature detection train the classifier. so far what I did, Face detection, 16 facial points calculation in every frame. below is an output of facial feature detection![enter image description A vector which holds the features points pixel address Note: I know how I can train the SVM only with positive and negative images, I saw this code here , But I don't know how I