Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yes, there is a difference. the internal format was changed some time ago (e.g. to support lbp cascades), and for historic reasons, the cuda based cascade classifier can only use the OLD format.

unfortunately now, the current opencv_traincascade tool will ONLY generate cascades in the new format, so they're not usable with cuda. (there is a conversion tool, but that only works old -> new, so you cannot use that either)

imho, you should try to get an older (2.4.x) opencv version, and use opencv_haartraining (which generates OLD format cascades). just remember, that you won't be able to use LBP features there.