Ask Your Question

sadegh01's profile - activity

2017-02-13 01:48:27 -0600 asked a question How to Use opencv::SVM on gpu?

I wrote a code to predict with ml::SVM . It is not fast. How can I use SVM on GPU ?

svm.train(trainingData,labels,Mat(),Mat(),params); detector .detect(&IplImage(im), vkeypoint); bowDE .compute(&IplImage(im), vkeypoint, bowDescriptor); res = svm.predict(bowDescriptor);

2017-01-24 05:38:57 -0600 asked a question Error Compile Opencv 3.2.0 with Opencv_Contrib3.2.0

Dear Friends I want to Compile opencv3.2.0 with opencv_contrib3.2.0. I add -D OPENCV_EXTRA_MODULES_PATH=../modules/opencv_contrib-3.2.0/modules and -D OPENCV_ENABLE_NONFREE=ON in the Cmake line, But I get Error From different cpp files from opencv_contrib3.2.0 files . It is not from One or two modules . I turned off all the modules with BUILD_opencv_<module>=OFF except xfeatured2 but the problem is still there . I can not finish make command . my OS is opencv7 gcc versio = 4.8.5 and y cmake version is 2.8.12.2 please help me . my job and my life is in danger.