Ask Your Question


asked 2012-11-20 15:28:56 -0600

updated 2012-11-20 15:32:51 -0600

Does anybody have experience with this sample code? I believe there is rough description in 'doc/vidsurv/*' but, there is no information how to run and test the code.

Based on my tests using webcam, I was not able to get any useful results (no targets were detected).

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-07-25 02:06:07 -0600

s101010tw gravatar image

updated 2013-07-25 02:09:08 -0600

I have a same question as Ekalic,if someone who has an answer about this title, please tell me.

Thanks a lot!

edit flag offensive delete link more

answered 2014-03-12 03:59:49 -0600

javed gravatar image

updated 2014-03-12 06:05:23 -0600


So, you simply can compile this sample program like other opencv examples. For testing you are suppose to run this program by passing some command line arguments like 1. blob detector type 2. FG type (forground detector ) etc 3. and the video clip you want test and as of now do not use your web cam. test it on a video clips. some test clips you can download from the link.

for more clarity lets say the output binary (after compilation) is testBlobtrack. and cmd arguments you have to pass

fg=FG_0S bd=BD_Simple bt=CC btpp=None fgavi=testClip.avi

on linux terminal:

./testBlobtrack FG_0S BD_Simple CC None testClip.avi

thats all. hope this will help for more have look at docs in opencv opencv-2.4.7/doc/vidsurv/

edit flag offensive delete link more

Question Tools


Asked: 2012-11-20 15:28:56 -0600

Seen: 1,370 times

Last updated: Mar 12 '14