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 );
I find a clear example. I learn how I use KNN via this link https://github.com/atduskgreg/kaggle-titanic/blob/master/titanic_knn/KNN.pde
^^ yours is c code, not java. try to stay closer to the github sample