Ask Your Question

ajman's profile - activity

2015-04-19 23:33:22 -0600 asked a question Got an error when re-training SVM.

I have already trained and saved a SVM classifier file called svm.yml. But when I tried to add one more category to that, this error came out: Bad argument (There is only a single class) in cvPreprocessCategoricalResponse

Does the svm train support a "re-training" in which I append or add additional training vectors and labels to it? I really need to know that. Any help is appreciated. Thanks.

2015-04-17 11:29:08 -0600 received badge  Supporter (source)
2015-04-11 14:19:05 -0600 asked a question How to train a svm?

I have three types of images namely, happy, sad and bored which contain a face corresponding to the each emotion. What kind of operation has to be done before the training? Can anyone provide me some reference code about training a svm?

2015-01-28 00:06:11 -0600 received badge  Enthusiast
2015-01-16 11:49:20 -0600 asked a question How to determine the similarity of face images?

Hi everyone,

I have 3 face images of a person with different facial expressions namely sad, happy and shocked. They all have different backgrounds and lighting environments.

Now I captured a photo of the same person by using the webcam.


  1. How can I determine which facial expression is that photo corresponds to?
  2. What transformations or filters should be applied to the images before the matching is done?

Thanks a lot!