Ask Your Question

kazeka's profile - activity

2014-02-05 08:26:43 -0600 received badge  Editor (source)
2014-02-05 08:25:40 -0600 commented answer GPU accelerated cascade classifier training, is it in the pipeline? Anyone has tried this before?

I think you're right - after looking at it some more, there is not much speed difference between training with CUDA on and off, at least as of today's master branch.

2014-01-30 10:29:10 -0600 received badge  Necromancer (source)
2014-01-30 09:37:44 -0600 answered a question GPU accelerated cascade classifier training, is it in the pipeline? Anyone has tried this before?

This is done at least since 2.4.7. If you build OpenCV with CUDA flags with driver installed, opencv_traincascade will use CUDA:

$ otool -L bin/opencv_traincascade
bin/opencv_traincascade:
    @rpath/libcudart.5.5.dylib (compatibility version 0.0.0, current version 5.5.28)
...
    @rpath/libcublas.5.5.dylib (compatibility version 0.0.0, current version 5.5.28)
    @rpath/libcufft.5.5.dylib (compatibility version 0.0.0, current version 5.5.28)
...
2013-10-14 01:43:17 -0600 received badge  Necromancer (source)
2013-10-11 02:38:13 -0600 answered a question ImportError: /lib64/libavcodec.so.54: symbol avpriv_update_lls, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference

You may have conflicting versions of libav* on your system. I had the same problem and then followed instructions at http://juliensimon.blogspot.fr/2013/08/howto-compiling-ffmpeg-x264-mp3-aac.html to get rid of them.