Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Problem Saving trained EM (Java)

$
0
0
Hi to all, Using the OpenCV 2.4.5 bindings for desktop Java, I've successfully estimated the parameters of a Gaussian mixture model (GMM) using EM and a set of samples. For later use, I would like to save the trained model. Unfortunately I couldn't find a way to do that using the bindings for desktop Java (no save(...) or write(...) method, unlike in [C++ Algorithm](http://docs.opencv.org/modules/core/doc/basic_structures.html#void%20Algorithm::write%28FileStorage&%20fs%29%20const)). Does anyone has an idea how I could save the trained GMM to a file and later load it again? As far as I understood, I should have the same methods in Java available as in C++, right? So is this a bug? Thanks in advance.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>