Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CvMat can not resolved

Hello, I use eclipse ide on windows for my project. And I want to use opencv with java. I added import org.opencv.*; But I get an error via "CvMat can not resolved".

    CvMat* trainData = cvCreateMat( train_sample_count, 2, CV_32FC1 );
    CvMat* trainClasses = cvCreateMat( train_sample_count, 1, CV_32FC1 );

CvMat can not resolved

Hello, I use eclipse ide on windows for my project. And I want to use opencv with java. I added import org.opencv.*; But I get an error via "CvMat can not be resolved".

    CvMat* trainData = cvCreateMat( train_sample_count, 2, CV_32FC1 );
    CvMat* trainClasses = cvCreateMat( train_sample_count, 1, CV_32FC1 );

CvMat can not be resolved

Hello, I use eclipse ide on windows for my project. And I want to use opencv with java. I added import org.opencv.*; But I get an error via "CvMat can not be resolved".

    CvMat* trainData = cvCreateMat( train_sample_count, 2, CV_32FC1 );
    CvMat* trainClasses = cvCreateMat( train_sample_count, 1, CV_32FC1 );
click to hide/show revision 4
retagged

updated 2014-06-26 12:11:46 -0600

berak gravatar image

CvMat can not be resolved

Hello, I use eclipse ide on windows for my project. And I want to use opencv with java. I added import org.opencv.*; But I get an error via "CvMat can not be resolved".

    CvMat* trainData = cvCreateMat( train_sample_count, 2, CV_32FC1 );
    CvMat* trainClasses = cvCreateMat( train_sample_count, 1, CV_32FC1 );