1

I'm currently designing an algorithm for car detection using Matlab. In order to do so, I'm using the cascade classifier tools provided by Matlab. By the end of the process, I'll get an xml file which contains my classifier model. I'd like to know if I can use this 'xml' model as is in OpenCV while porting my algorithm to C++?

thanks for your help

Dima
  • 38,860
  • 14
  • 75
  • 115
PhonoDots
  • 149
  • 1
  • 12
  • @berak I'm using the Matlab function `trainCascadeObjectDetector` with HoG features in order to produce the xml file – PhonoDots Feb 11 '15 at 09:23

1 Answers1

1

Yes, you can. If you look at the resulting xml file, you should see a comment at the top telling you which version of OpenCV it is compatible with.

Dima
  • 38,860
  • 14
  • 75
  • 115