Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SVM.load() module in python opencv3

Hi!

Recently I've tried to rewrite my code from opecv2 to opecv3 and realized, that in opencv3 the SVM.load() module has gone. In my case I setup svn by:

svm = cv2.ml.SVM_create()

then I set params, train my svm and save trained svm to file by:

svm.save('file.dat')

So the question is, how to load trained SVM from file, which was saved before as above? I can't find any info, also in python docs there's no any method for loading it...

Thank for any response ;)