Move SVM between python and cpp ?
I have trained an OpenCV SVM using the python API but would like to run it in a cpp program. Is there a way to save and import it between the two languages, or would I need to retrain it in cpp ?
SVM inherits from algorithm, which has a load and save option. Since those models are stored as xml you can load them from whatever language you want. The models itself won't change. Here is a SO question showing you how to save and load a SVM model.