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

asked 2015-11-03 01:09:01 -0500

hariprasad gravatar image

updated 2015-11-03 01:10:01 -0500

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.

edit retag flag offensive close merge delete


berak gravatar imageberak ( 2015-11-03 01:19:34 -0500 )edit