Ask Your Question

sara1691362's profile - activity

2018-03-28 05:31:11 -0600 received badge  Notable Question (source)
2017-06-28 07:31:09 -0600 received badge  Popular Question (source)
2016-06-03 12:11:16 -0600 asked a question Get a probability out of svm

I'm using SVM classifier and i did the training with 6 classes.

Is it possible to get a probability when using an SVM in OpenCV?

Thank you.

2016-05-31 12:18:34 -0600 received badge  Editor (source)
2016-05-31 12:17:44 -0600 asked a question Write a text in dlib image

i'm using dlib for face detection and i would like to write a text in the image. Can you please help me.

2016-05-18 06:44:39 -0600 commented answer Image classification using SVM

can you please tell me how can i do that?

2016-05-18 05:53:07 -0600 commented answer Image classification using SVM

I am currently working on a project where I have to extract the facial expression from a video. I've extracted the landmarks, now i want to classify the emotions + get the closest image's landmarks. So is there a possibility to do the classification based on the facial landmarks?

2016-05-18 04:56:16 -0600 commented question Image classification using SVM

i need the closest image + which class it belongs

2016-05-17 16:33:09 -0600 commented question Image classification using SVM

is there a possible way to get the closest neighbour + the class which belongs the image (using the nearest neighbour ) ?

2016-05-17 12:50:26 -0600 commented question Image classification using SVM

thank you for your answer. can you please tell me what method can i use to solve this problem?

2016-05-17 09:03:48 -0600 asked a question Image classification using SVM

i'm using opencv svm and i want to know if it is possible to know which image is closer to our input image instead of the class which belongs our image.

2016-04-17 11:22:58 -0600 received badge  Supporter (source)
2016-04-17 10:46:20 -0600 commented answer SVM Training Data Error

thank you !

2016-04-17 10:46:00 -0600 received badge  Scholar (source)
2016-04-17 10:11:14 -0600 commented question SVM Training Data Error

so what should i do to solve the probleme? is there any solution beside the update?

2016-04-17 09:24:40 -0600 asked a question SVM Training Data Error

i'm using Opencv 3.0 and i tried this code but i'm getting this error :

using namespace std;
using namespace cv;
using namespace cv::ml;
int main(int argc, char** argv){
 int labels[10] = { 0, 0, 1, 1, 0, 1, 1, 1, 1, 0};
 cv::Mat lablesMat(10, 1, CV_32SC1, labels);

 float trainingData[10][2] = { { 100, 10 }, { 150, 10 }, { 600, 200 }, { 600, 10 }, { 10, 100 }, { 455, 10 }, { 345, 255 }, { 10, 501`z` }, { 401, 255 }, { 30, 150 } };

 cv::Mat trainDataMat(10, 2, CV_32FC1, trainingData);
SVM::Params params;
    params.svmType    = SVM::C_SVC;
    params.kernelType = SVM::LINEAR;
    params.termCrit   = TermCriteria(TermCriteria::MAX_ITER, 100, 1e-6);
    // Train the SVM
    Ptr<SVM> svm = StatModel::train<SVM>(trainDataMat, ROW_SAMPLE, lablesMat, params);
 //Create test features
 float testData[2] = { 150, 15 };

 cv::Mat testDataMat(2, 1, CV_32FC1, testData);

 //Predict the class labele for test data sample
 float predictLable = svm->predict(testDataMat);

 std::cout << "Predicted label :" << predictLable << "\n";
    return(0);
}

OpenCV Error: Assertion failed (samples.cols == var_count && samples.type() == CV_32F) in predict, terminate called after throwing an instance of 'cv::Exception' what(): error: (-215) samples.cols == var_count && samples.type() == CV_32F in function predict

2016-04-16 10:00:02 -0600 commented question SVM for emotion detection

we can use the bridge of the nose to be the zero-point origin by substraction its coordinates without dividing by the size?

2016-04-16 09:02:52 -0600 commented question SVM for emotion detection

is it necessary to do the normalization befor the training?

2016-04-16 08:41:22 -0600 commented question SVM for emotion detection

thank you !

2016-04-16 08:30:38 -0600 commented question SVM for emotion detection

i did not understand, can you please clarify you answer ?

2016-04-16 08:28:29 -0600 asked a question emotion classification with SVM

Hi, i'm working on a project where i have to extract the facial expression from a video, after i extracted the facial landmarks position i want to train SVM for emotion classification(happiness, anger, fear, surprise ...). Befor the training should i normalize the points (to get them into [0..1] range ) ?? and how can i do that?

2016-04-16 08:22:51 -0600 commented question SVM for emotion detection

Can you please tell me how to normalize the points

2016-04-07 09:53:10 -0600 commented question facial expressions classification

i extracted the facial landmarks position (x,y) can you please tell me what should i do next ? should i calculae the distance between the point to detect the point that did change ?

2016-03-31 08:40:32 -0600 commented question facial expressions classification

thank you.

2016-03-29 19:41:17 -0600 commented question faces facs (facial action coding system)

![to be able to extract the landmarks of the face i used dlib. in the output of face_landmark_detection_ex.cpp, are those the positions of the points compared to all the image or just the face?? image description

2016-03-28 05:49:12 -0600 answered a question faces facs (facial action coding system)

i have the same problem can you please help me?

2016-03-28 05:18:06 -0600 received badge  Enthusiast
2016-03-25 17:28:54 -0600 commented question extract features for the face using ASM

i'm using dlib (http://dlib.net/) and i want to extract the coordinates of the corners of the eyes and mouth . Can you please help me.

2016-03-24 16:11:00 -0600 commented question extract features for the face using ASM

i will try it. thank you

2016-03-24 11:46:41 -0600 asked a question facial expressions classification

I am currently working on a project where I have to extract the facial expression (emotion) I'm using OpenCV and c++ os : Linux

can you please help me find some good documentation?

2016-03-24 06:05:34 -0600 commented question extract features for the face using ASM

i don't khow where to start.

2016-03-23 21:52:39 -0600 asked a question extract features for the face using ASM

can anyone help me please i downloaded the code https://github.com/cxcxcxcx/asmlib-op... but i couldn't figure out how to use it please help me out. I'm using ubuntu. thanks

2016-03-23 21:52:37 -0600 commented answer Emotion recognition by face and speech in video...

can anyone help me please i downloaded the code https://github.com/cxcxcxcx/asmlib-op... but i couldn't figure out how to use it please help me out. I'm using ubuntu. thanks