SVM Training Parameters to OpenCV [closed]
I am creating an Android application that will use OpenCV, specifically its SVM feature. I have a prototype of my application in MATLAB wherein I have already pre-processed multiple images and saved the output values in a csv file and had weka train my SVM classifier. I am porting my code now to Android and I seem to have hit a road bump. Do I have to train the classifier within my OpenCV code? Or can I just input the model parameters and have it predict my outputs? (I take a picture and SVM will automatically classify what kind of image is it.)
I'm reluctant to perform training on my Android device since doing so would be time consuming and I have a deadline to meet. So is it possible to just enter the model parameters in my Android application and it will predict the output? Or if ever I do retrain my classifier in the device, can I use the CSV file I have previously used?
Thanks!
svm save and svm load is all you need! Just call them on your svm object!
Thanks! Just saw the documentation the other day. Really helpful!