Loading a saved .xml file in android

asked May 21 '14

황인학 gravatar image

updated May 21 '14

I've saved the model, mean and W in .xml in PC and load these files in my app how to load these file? W vector is 65536*5 size

///////////////////////// this is code to load Mat data from android image description

the code is too slow....... so my app is stop

Preview: (hide)

Comments

what kind of model ? where did you save it ?

berak gravatar imageberak (May 21 '14)edit

@berak svm model and save in my app i had sovled this problem but it's too slow so my app freezing

황인학 gravatar image황인학 (May 21 '14)edit
1

ok. i see. yes, that looks slow ;)

doing anything with pixels in the java api is a plain PITA.

what if you svm.load() the xml instead ?

berak gravatar imageberak (May 21 '14)edit

@berak before create svm model i have to use pca so load mean vector and w vector xml files save these Mat var

황인학 gravatar image황인학 (May 22 '14)edit