Ask Your Question

roomini's profile - activity

2020-10-07 16:03:19 -0600 received badge  Student (source)
2017-02-09 04:16:30 -0600 received badge  Popular Question (source)
2013-05-08 03:58:52 -0600 commented answer Can anybody tel me how to create a n-dimensional space

yup i understood.. s it possible that i can use multivariate variables in a single matrix..?? like one variable is a 3d-coordinate and other is an angular value, quaternion function and so on... ??

2013-05-04 01:39:29 -0600 commented answer Can anybody tel me how to create a n-dimensional space

ok just tel me how to create 435 planes so that i can place the features of the 10 activities in that plane..

2013-05-03 03:23:03 -0600 commented answer Can anybody tel me how to create a n-dimensional space

@StevenPuttrmans u did not understand my problem!

2013-05-02 03:42:16 -0600 asked a question N-dimensional planes

how to create n-dimensional planes so that i can place my points in them?? please help..

2013-04-26 06:29:18 -0600 commented answer Can anybody tel me how to create a n-dimensional space

can u please this in detail??

2013-04-26 03:53:41 -0600 asked a question Can anybody tel me how to create a n-dimensional space

I have 10 activities 435 features and 100 samples for each activity. so now, i need to create a 435-dimensional feature space to place these features for 100 samples of 10 activities. Can anybody help me in this?? Thanks in advance

2013-04-25 03:51:55 -0600 commented answer what format is .volkan

Access violation reading location 0x00000000. how to solve this exception

2013-04-24 07:15:35 -0600 commented answer what format is .volkan

but i want its output in an image format..

2013-04-24 06:27:10 -0600 asked a question what format is .volkan

Hi there can anybody tell me the format of the image used at line number 81 in the code provided by the link below..

http://www.vsalma.com/2009/08/opencv-altnda-svm-kullanmak-opencv-svm.html

can there be any alternative to this format?? please help me in this.

2013-04-18 04:29:18 -0600 asked a question can anybody tel me how to get the mean of the skeleton joint coordinates of a video taken from kinect xbox

I am getting the coordinates only of the first frame after the pose is recognized. Can anybody tel me how to extract the coordinates of the skeleton joints for each frame of the video and take the mean??

2013-04-18 02:40:42 -0600 commented question Error when trying to execute the SVM example code

ok i am sorry..

2013-04-18 02:27:14 -0600 commented question Error when trying to execute the SVM example code

M not getting whats wrong. Once this line is compiled m getting the exception

2013-04-18 02:24:57 -0600 commented answer Error when trying to execute the SVM example code

I'm doing a project on "Human Activity Recognition". I have training and test set videos for 10 different activities with 8 features each. I need to classify this using SVM

2013-04-18 02:20:23 -0600 commented question Error when trying to execute the SVM example code

m getting error at line no. 75 i.e imwrite("result.png", image);

2013-04-18 02:01:00 -0600 commented answer Error when trying to execute the SVM example code

Actually when i debug, eventhough i have given (i and j) <=2 its going to an infinite loop..

can u please tel me how to work out with SVM??

2013-04-18 01:58:01 -0600 commented question Error when trying to execute the SVM example code

Since m new to this OpenCV library i didn't know which one to use.. some said 2.4.9 is complex to understand so m trying out with 2.1.0

2013-04-18 00:34:06 -0600 asked a question Error when trying to execute the SVM example code

Guys, I am new to openCV and programming. I tried executing the SVM code in PDF and I am getting the above exception.

Unhandled exception at 0x65e70fcd in svm.exe: 0xC0000005: Access violation reading location 0x00000000.

Can someone please help me out with this?

#include "stdafx.h"

#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <ml.h>

 //#include <opencv2/core/core.hpp>
 //#include <opencv2/highgui/highgui.hpp>
 //#include <opencv2/ml/ml.hpp>

 using namespace cv;
 using namespace std;

 int main()
 {
 // Data for visual representation
 int width = 512, height = 512;
 Mat image = Mat::zeros(height, width, CV_8UC3);


 // Set up training data
 float labels[4] = {1.0, -1.0, -1.0, -1.0};
 Mat labelsMat(3, 1, CV_32FC1, labels);

 float trainingData[4][2] = { {501, 10}, {255, 10}, {501, 255}, {10, 501} };
 Mat trainingDataMat(3, 2, CV_32FC1, trainingData);

 // Set up SVM’s parameters
 CvSVMParams params;
params.svm_type = CvSVM::C_SVC;
 params.kernel_type = CvSVM::LINEAR;
 params.term_crit = cvTermCriteria(CV_TERMCRIT_ITER, 100, 1e-6);

 // Train the SVM
 CvSVM SVM;
 SVM.train(trainingDataMat, labelsMat, Mat(), Mat(), params);

 Vec3b green(0,255,0), blue (255,0,0);
 // Show the decision regions given by the SVM
 for (int i = 0; i <2; ++i)
 for (int j = 0; j <2; ++j)
 {
 Mat sampleMat = (Mat_<float>(1,2) << i,j);
 float response = SVM.predict(sampleMat);

 if (response == 1)
 image.at<Vec3b>(j, i) = green;
 else if (response == -1)
 image.at<Vec3b>(j, i) = blue;
 }

 // Show the training data
 int thickness = -1;
 int lineType = 8;
 circle( image, Point(501, 10), 5, Scalar( 0, 0, 0), thickness, lineType);
 circle( image, Point(255, 10), 5, Scalar(255, 255, 255), thickness, lineType);
 circle( image, Point(501, 255), 5, Scalar(255, 255, 255), thickness, lineType);
circle( image, Point( 10, 501), 5, Scalar(255, 255, 255), thickness, lineType);

 // Show support vectors
 thickness = 2;
 lineType = 8;
 int c = SVM.get_support_vector_count();

 for (int i = 0; i < c; ++i)
 {
 const float* v = SVM.get_support_vector(i);
 circle( image, Point( (int) v[0], (int) v[1]), 6, Scalar(128, 128, 128), thickness, lineType);
 }

 imwrite("result.png", image); // save the image

 imshow("SVM Simple Example", image); // show it to the user
 waitKey(0);

 }

i get only 1 exception i.e mentioned above when i add ml210.lib to the linker.. if i do not add ml210.lib to d linker i get d following errors..

1>svm.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CvSVM::~CvSVM(void)" (??1CvSVM@@UAE@XZ) referenced in function _main

1>svm.obj : error LNK2019: unresolved external symbol "public: virtual float const * __thiscall CvSVM::get_support_vector(int)const " (?get_support_vector@CvSVM@@UBEPBMH@Z) referenced in function _main

1>svm.obj : error LNK2019: unresolved external symbol "public: virtual int __thiscall CvSVM::get_support_vector_count(void)const " (?get_support_vector_count@CvSVM@@UBEHXZ) referenced in function _main

1>svm.obj : error LNK2019: unresolved external symbol "public: virtual float __thiscall CvSVM::predict(class cv::Mat const &,bool)const " (?predict@CvSVM@@UBEMABVMat@cv@@_N@Z) referenced in function _main

1>svm.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall CvSVM::train(class cv::Mat const &,class ...
(more)
2013-03-19 01:05:58 -0600 commented question '=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

so wat should i do now?

2013-03-18 01:29:52 -0600 received badge  Scholar (source)
2013-03-18 01:06:25 -0600 commented question '=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

Yep i got it ;) but i have an exception too :( can u please try to solve this?? help me out na....

Unhandled exception at 0x754fc41f in meghana.exe: Microsoft C++ exception: cv::Exception at memory location 0x0033f288.. i dnt kno y m getting this

2013-03-16 00:28:42 -0600 commented question '=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

m new to this language m nt getting wats all this explicit conversion :'(

2013-03-15 06:35:17 -0600 received badge  Editor (source)
2013-03-15 03:57:05 -0600 asked a question '=' : cannot convert from 'void *' to 'CvPoint *' 1> Conversion from 'void*' to pointer to non-'void' requires an explicit cast

m trying to execute the code which is in https://github.com/bengal/opencv-hand-detection but getting the error above.. m new to this.. please help me out..

line:87, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:88, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:167, error:'=' : cannot convert from 'void ' to 'CvConvexityDefect *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

line:194, error:'sqrt' : ambiguous call to overloaded function c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(589): could be 'long double sqrt(long double)' c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(541): or 'float sqrt(float)' c:\program files (x86)\microsoft visual studio 10.0\vc\include\math.h(127): or 'double sqrt(double)' while trying to match the argument list '(int)'

line:218, error:'=' : cannot convert from 'void ' to 'CvPoint *' Conversion from 'void' to pointer to non-'void' requires an explicit cast

Any help would be greatly appreciated. Thanks in advance