1 | initial version |
please have a look at the python tutorials, and use it like this:
svm = cv2.ml.SVM_create()
svm.train(....)
svm.save(....)
svm = cv2.ml.SVM_load(....)
svm.predict(....)
2 | No.2 Revision |
please have a look at the python tutorials, and use it like this:
svm = cv2.ml.SVM_create()
svm.train(....)
svm.save(....)
svm = cv2.ml.SVM_load(....)
cv2.ml.SVM_load(....) # returns a new instance !
svm.predict(....)