SVM on iOS versus OSX

asked 2015-09-18 06:44:45 -0600

JeanPaulBarddal gravatar image

Hello there,

I am developing a coin recognizer for iOS and I'm using opencv for feature extraction and SVM training. So far, I managed to train my classifier on my computer (OSX) using opencv 3.0, SIFT extraction and SVM. Resubstitution error rates are perfect (i.e. 100% accuracy).

Moving to the iOS end, I am loading both my BoVW descriptors and SVM model from the bundle (xml files) and using them for recognition. Nevertheless, I am getting 0% accuracy.

Things already verified: - SVM, when loaded on iOS, possesses the same parameters obtained by the OSX training step (grid search went well I believe). - BoVW descriptors look good too.

I'm thinking about a floating point error or something like that?

Regards,

Jean

edit retag flag offensive close merge delete

Comments

hi there, hope you don't mind i removed the duplicate.

berak gravatar imageberak ( 2015-09-18 07:34:45 -0600 )edit

not at all! Since i'm a new user I found weird that it didn't appear at first. thanks!

JeanPaulBarddal gravatar imageJeanPaulBarddal ( 2015-09-18 07:40:24 -0600 )edit