Ask Your Question
1

How i can use Visual Tracker Benchmark with OpenCV

asked 2016-12-29 15:21:02 -0600

azdoud.y gravatar image

updated 2017-11-11 15:21:54 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-12-29 18:14:54 -0600

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.

edit flag offensive delete link more

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 ( 2016-12-30 05:10:23 -0600 )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 ( 2016-12-30 15:43:18 -0600 )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 ( 2016-12-30 17:40:22 -0600 )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 ( 2016-12-30 17:50:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-29 15:21:02 -0600

Seen: 450 times

Last updated: Dec 30 '16