How to port Desktop trained SVM model to OpenCV4Android?

asked 2015-07-06 17:24:57 -0600

updated 2018-09-29 12:31:58 -0600

Can someone please tell me how can I use a SVM model trained in OpenCV C++ environment into an Android app.

edit retag flag offensive close merge delete

Comments

svm.save("mysvm.yml.gz"); on your pc, put the yml.gz file onto your sdcard (no, not the assets or inside the apk), and use svm.load("mysvm.yml.gz"); in java.

berak gravatar imageberak ( 2015-07-07 04:10:28 -0600 )edit