Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ANNMLP does not have a load method for loading trained XML(Android binding)

I used ANNMLP in opencv c++ binding for a classification problem.I trained a network and saved it in XML file .I am able to predict the classification for newer samples by loading the trained XML file.It works fine for me in c++.Now I wanted to do this classification for newer samples in android by loading the XML file trained in c++ .But I could not able to find out a method to load the XML file for predicting samples in android binding of opencv.I looked down to the inherited classes(StatModel,Algorithm) of ANNMLP class but I could not find any method that loads the trained XML file though I found Save and Clear methods.I am using the latest opencv version 3.0.

ANNMLP does did not have a load method for loading trained XML(Android binding)

I used ANNMLP in opencv c++ binding for a classification problem.I trained a network and saved it in XML file .I am able to predict the classification for newer samples by loading the trained XML file.It works fine for me in c++.Now I wanted to do this classification for newer samples in android by loading the XML file trained in c++ .But I could not able to find out a method to load the XML file for predicting samples in android binding of opencv.I looked down to the inherited classes(StatModel,Algorithm) of ANNMLP class but I could not find any method that loads the trained XML file though I found Save and Clear methods.I am using the latest opencv version 3.0.