Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem Saving trained EM (Java)

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).

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.