First time here? Check out the FAQ!

Ask Your Question
0

blobtrack_sample.cpp

asked Nov 20 '12

updated Nov 20 '12

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).

Preview: (hide)

2 answers

Sort by » oldest newest most voted
0

answered Jul 25 '13

s101010tw gravatar image

updated Jul 25 '13

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

Thanks a lot!

Preview: (hide)
0

answered Mar 12 '14

javed gravatar image

updated Mar 12 '14

Hi,

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. http://jabryan.iweb.bsu.edu/videoanalysis/

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/

Preview: (hide)

Question Tools

Stats

Asked: Nov 20 '12

Seen: 1,633 times

Last updated: Mar 12 '14