Ask Your Question

Quadratic Programming in OpenCV 3.0.0

asked 2017-01-03 09:57:46 -0500

guidovitale gravatar image

I'm recently trying to solve a problem which involves quadratic (semi-definite) programming in C++. since I sometimes use OpenCV library and I'm aware that SVM is indeed supported, I'm rather astonished that in this page: no stuff for solving QP pbs is provided. Am I wrong? How a SVM could be trained without using QP's methods? Many thanks for your kind answers. Guido

edit retag flag offensive close merge delete


Thanks Lorena. I looked at the new opencv release doc you suggested but still there's no QP. thanks also for the link to the code, which is very interesting although indeed quite taylored on svm kind of 'Q matrices' and therefore not very useful for me.

guidovitale gravatar imageguidovitale ( 2017-01-04 02:36:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-03 11:50:25 -0500

LorenaGdL gravatar image

First of all, you should visit the latest documentation instead of the rather old 3.0-beta one, because thing could have changed a lot.

Regarding your question, not every function and method is exposed on the library interface. There are many parts of the code that are kept internal for different reasons. If you are interested, you can check the solver method used by SVM algorithm here, although you probably will find no use of it out of its context.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-01-03 09:57:46 -0500

Seen: 491 times

Last updated: Jan 03 '17