Ask Your Question
-1

How to Use opencv::SVM on gpu?

asked 2017-02-13 01:48:27 -0600

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

edit retag flag offensive close merge delete

Comments

please, DO NOT USE IplImage*, but cv::Mat

berak gravatar imageberak ( 2017-02-13 01:51:37 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-13 02:03:30 -0600

berak gravatar image

no, there is no gpu version for SVM (or any of opencv's machine learning classes)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-02-13 01:48:27 -0600

Seen: 813 times

Last updated: Feb 13 '17