I want to test ViBe algorithm for Background Subtraction. Currently I am using opencv libraries. I found out a sample implementation in opencv/samples/gpu/bgfg_segm.cpp and bgfg_vibe.cpp files. These files are under gpu module. Now I have a system without GPU. And when I try to run the code, it crashes on the initialization of the first frame. Can anybody tell me how to solve this issue?
Thanks in advance.
I have the same problem with you: want to use Vibe without GPU in OpenCV. Unfortunately, there's no non-gpu implementation in current version of OpenCV(2.4.3). If I'm wrong, please let me know. So I implemented the vibe myself base on the pseudo code presented in the paper. It's not as difficult as I thought.
And I'm happy with this algorithm so far. It's great in general, but I think there still needs some further works to conquer the ghost problem.
pseudo codes suck big time! here's the un-pseudo/ed version. results?:there is only try or try not
bgfg_vibe.hpp
bgfg_vibe.cpp
main.cpp
Please note that ViBE is patented and that its uses is subject to licensing fees. Please go to vibeinmotion.com for a trial version and more info. I am in charge of the business development of ViBE and you can contact me directly for more info. Regards.