Ask Your Question
1

How i can use Visual Tracker Benchmark with OpenCV

asked Dec 29 '16

azdoud.y gravatar image

updated Nov 11 '17

Dear community

I've found a useful dataset Benchmark it looks very interesting to use it to evaluate algorithm.

Actually, I use function compareHist to compare histograms using the specified method at the end, I generate the result as a text file containing x and y coordinates of the target I wonder if there is a possibility to test OpenCV code with this Visual Tracker Benchmark

Would be great to get your help.

I need a serious help

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Dec 30 '16

Tetragramm gravatar image

Well, they provide both MATLAB and Python benchmark suites, and OpenCV has both Python and MATLAB bindings, so it seems like the easiest way would be to use the benchmark suites they provide. Just match the input and output formats and there you go.

Preview: (hide)

Comments

Yes, they use Matlab and python, however, I've developed the code in Cpp, do you mean that I should rewrite my code in another language? I need guide to do this match because I'm stuck at this point

azdoud.y gravatar imageazdoud.y (Dec 30 '16)edit

Look at eval_results and just do that in C++. You just need the same numbers to compare with the provided results.

Tetragramm gravatar imageTetragramm (Dec 30 '16)edit

of course @Tetragramm, the owners had responded on their group: << I think you can use the Python scripts in. tracker_benchmark. For now, there is no C++ implementation for the benchmark. FYI the Matlab scripts used for PAMI paper is in the 'pami15' branch of the same repository. >>

I've never worked with python, what should I do ?

azdoud.y gravatar imageazdoud.y (Dec 30 '16)edit
1

You look at how it calculates the scores, which is the eval_results script in that repository. Then you calculate the scores the same way in your c++ code, and then you can compare the results.

Tetragramm gravatar imageTetragramm (Dec 30 '16)edit

Question Tools

1 follower

Stats

Asked: Dec 29 '16

Seen: 476 times

Last updated: Dec 30 '16