Ask Your Question
0

can we use same c++ function to detect objects for xml file generated using haartraining and traincascade interfaces.

asked 2014-08-13 04:23:27 -0600

Punith K gravatar image

@StevenPuttemans I noticed that xml file generated using traincascade interface is lot more different than the one created by haartraining interface. Is existing detectMultiScale and other functions that loads and interprets this new xml properly. I checked that there were no work done for reading xml created using new traincascade interface, If any please do help me.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-08-13 04:45:44 -0600

All C++ interfaces of detectMultiScale and detect on cascade classifiers depend solely on the new XML structure. They will not be able to read the xml file if it was created using the old haartraining interace.

As suggested before. Quit using the old and deprecated C-API and move on to the C++ interface. It will make your life so much easier.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-13 04:23:27 -0600

Seen: 168 times

Last updated: Aug 13 '14