Cascade file trained in traincascade in cuda::CascadeClassifier

asked 2018-07-06 10:12:08 -0600

Bleach gravatar image

I have a cascade file trained in opencv_traincascade. Can I convert it to new format, to load in cuda::CascadeClassifier? And have to train cascade wich can be used in cuda::CascadeClassifier?

edit retag flag offensive close merge delete

Comments

1

you got it the wrong way:

  • it needs old format for cuda::CascadeClassifier
  • opencv_traincascade produces new format cascades, which are not usable in cuda.
berak gravatar imageberak ( 2018-07-06 10:25:19 -0600 )edit

@break. Thanks. Can opencv_traincascade produce cascade in old format? Or some way to convert new format to old?

Bleach gravatar imageBleach ( 2018-07-06 11:54:30 -0600 )edit
1

no.

currently, the sad thruth is: if you want to train a cascade for cuda, you have to fall back to opencv2.4, and use the haarcascade tool.

berak gravatar imageberak ( 2018-07-06 11:57:17 -0600 )edit