Ask Your Question
0

Matlab haar cascade opencv android compatibility

asked 2016-03-03 01:44:34 -0600

Pulkit gravatar image

updated 2019-12-09 07:55:06 -0600

Akhil Patel gravatar image

I trained a haar cascade classifier in matlab. I want to use the model(xml file) in opencv with android. The xml file says its compatible with OpenCV 2.4. I am using OpenCV 3.0 in android. Will it have any compatibility issue? I am using Android Studio.

edit retag flag offensive close merge delete

Comments

I never tried it before, but if I am correctly, then matlab is outputting the exact same format. Furthermore, the format of the new models using traincascade has NOT been changed from 2.4 to 3.x.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-03-03 04:14:58 -0600 )edit

Thanks for reply. I tried it it doesnt work actually. My xml file was compatible with 2.4 but i tried loading it in 3.0. It was loading the xml file. When i changed my version back to 2.4, everything worked as it should.

Pulkit gravatar imagePulkit ( 2016-03-03 06:45:27 -0600 )edit

Then they are probably using the old xml format, which is still supported in OpenCV 2.4.x and not in 3.x ... which is a pitty, because it will slowly disappear.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-03-03 07:10:25 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-18 11:15:11 -0600

hello, im trying to develop a software for detect cars on android platform. i have c# codes but i cant use them for android. Can you share your android program or codes ?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-03-03 01:44:34 -0600

Seen: 326 times

Last updated: Mar 03 '16