I trained a computer vision classifier consisting of 2 components: a kernel PCA transformation of the data and a SVM binary classification model.
These models are trained in Python using SKlearn, but I'd like to use them for an actual computer vision task in c++ and later possibly Java. What's the best way to export my models to a different environment? Is there a smart way to do this or will I simply have to hand code all parameters in a new language?
解决方案
I would suggest to do the complete process directly in opencv, in c++ or java as you prefer.
Here you have an example of PCA and another of SVM.