Is there way to call scikit-learn's functions from c++? I have the rest of most my code in C++ with opencv. I would like to be able use the classifiers scikit-learn provides. As far as I understand, there's no easy way - I need to use boost::python or swig. I also came across this project (https://github.com/spillai/numpy-opencv-converter) which shows interop between numpy arrays <==> cv::Mat objects, but I know only how to use to call C++ code from my python script, not the other way around.
Have you looked at native C++ libraries like shogun and mlpack? These might be much easier for you to use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With