python - Custom SVM for cv2.HOGDescriptor.setSVMDetector() -


how obtain weights svm in opencv 2.4.6 python 2.7.5?

i need calculate primal form of cv2.svm() feed cv2.hogdescriptor().setsvmdetector.

found this , this sof useful, seems svm.decision_func protected , cannot access variable obtain weights.

are there other ways in python+opencv?

you can use save method save svm hard drive.

if need weights think need modify code or closer @ format in opencv svm saved.

here info opencv svm output file format


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -