Ask Your Question

Parthi's profile - activity

2014-01-24 23:33:25 -0600 asked a question how to provide training data for svm classifier?

I am opencv newbie , i am trying build a Sign language recognition system the training data for the svm has to be set of 2D points.

if I have converted a set of Hand-gestures to contours, and i want to use that as a training data for SVM ?

what is process of converting those contours into training data?

2014-01-24 09:11:41 -0600 commented question what is the use of ShapeDistanceExtractor class ?

for classification of the signs ? i thought Hu's moment can be used as a features

2014-01-24 08:55:14 -0600 commented question what is the use of ShapeDistanceExtractor class ?

thanks.but i have a question which approach provides better performance ShapeDistanceExtractor or SVM ? for sign language recognition .

2014-01-24 06:55:29 -0600 asked a question what is the use of ShapeDistanceExtractor class ?

Sign Language Recognition

instead of using Hausdorff Distance can ShapeDistanceExtractor class can be used?

I Could not find code for both Hausdorff Distance or ShapeDistanceExtractor is there any site which has the examples using any of the above concepts?

2014-01-22 22:14:29 -0600 commented answer what kind of approach can be used for recognize hand signs?

is there a link or a tutorial for step 2 . Exactly how to create that database and train the classifier

2014-01-22 22:12:18 -0600 received badge  Editor (source)
2014-01-22 11:52:44 -0600 asked a question what kind of approach can be used for recognize hand signs?

what approach is used in the below video to recognition for hand signs?

Sign Language recognition

why is he using cvblob? how did he separate his head from hand ( it has different colors) how to actually train the signs using the SVM ? how much time will it consume ?

Edit:My questions

  1. how to recognize signs used in a sign language ? do we need store the signs as files in a Haar-like database? is it possible?
  2. if we skin color recognition is used ? how to identify the signs?
2014-01-05 06:34:22 -0600 asked a question Error -Converting a color video to grayscale ?

hi guys,

I am using win7-32bit and Visual Studio 2012 professional .While I am executing an example from Learning opencv book.here is the source code

#include <opencv\cv.h>
#include <opencv\cxcore.h>
#include <opencv\highgui.h>
#include <opencv2\highgui\highgui_c.h>
#include<iostream>

 int main(int argc,char** argv)
 {
CvCapture* capture=0;
capture=cvCreateFileCapture(argv[1]);
if(!capture)
    return -1;
IplImage* bgr_frame=cvQueryFrame(capture);

double fps=cvGetCaptureProperty(capture,CV_CAP_PROP_FPS);
CvSize size=cvSize((int)cvGetCaptureProperty(capture,CV_CAP_PROP_FRAME_WIDTH), (int)cvGetCaptureProperty(capture,CV_CAP_PROP_FRAME_HEIGHT));

CvVideoWriter* writer=cvCreateVideoWriter(argv[2],CV_FOURCC('M','J','P','G'),fps,size);
IplImage* logpolar_frame=cvCreateImage(size,IPL_DEPTH_8U,3);

while ((bgr_frame=cvQueryFrame(capture)) != NULL)
{
    cvLogPolar(bgr_frame,logpolar_frame,cvPoint2D32f(bgr_frame->width/2,bgr_frame- >height/2),40,CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS);
    cvWriteFrame(writer,logpolar_frame);
    printf("wait");
}
printf("finished");
    cvReleaseVideoWriter(&writer);
cvReleaseImage(&logpolar_frame);
cvReleaseCapture(&capture);
return 0;
   }

Commandline arguments:

logpolor.exe Mun.avi mun.mpeg

after building, I get this this error during execution

warning error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545

What should I change? every other program works fine?

2014-01-04 08:33:35 -0600 received badge  Supporter (source)