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);