davheld / GOTURN

Source code for paper: Learning to Track at 100 FPS with Deep Regression Networks, Held, et al. ECCV 2016
http://davheld.github.io/GOTURN/GOTURN.html
MIT License
887 stars 316 forks source link

Caffe version of Goturn VS Opencv version of Goturn #61

Open nuitvolgit opened 6 years ago

nuitvolgit commented 6 years ago

Hello,

I found opencv version of Goturn. (check the link below) opencv Goturn

I wonder the performance of the opencv version is the same as the Caffe version if they both use the same pretrained model.

If the authors of Goturn participated in implementing the opencv version, the performance quality of them should be the same.

Could you please answer this?

Thanks.

delongqilinksprite commented 6 years ago

Hi,I test opencv Goturn and caffe Goturn,got different performance,caffe is more better,whatever speed and track,and opencv can't use cuda, it seems that caffe Goturn model file can't be used on opencv,how about you?

nuitvolgit commented 6 years ago

Hi, I haven't compared them yet.

I am actually interested in using pretrained Goturn, rather than training it with some dataset. So I was just wondering which would be better if I just want to use pretrained model.

By the way, how bad was the opencv version compared to the Caffe version? As far as I know, Goturn itself is a very fast algorithm (100fps) so that CUDA might not be necessary if I just use pretrained model. But I am not sure.

delongqilinksprite commented 6 years ago

if just use cpu to run Goturn,i7 6700hq,less 10FPS.

davheld commented 6 years ago

Good question! I didn't help with implementing the OpenCV version, but as far as I can tell it's a decent implementation. I didn't benchmark and compare though.

trikim commented 6 years ago

The goturn.caffemodel of OpenCV version can be found here.

trikim commented 6 years ago

Is there someone know how to run GOTURN with gpu mode in opencv version? I succeed to run the multitracker.cpp demo in opencv_contrib-3.4.1. But the speed is only 6 FPS with i7-7700K and the image size is 640*480. I guess it was ran with cpu mode.

mustfkeskin commented 5 years ago

if just use cpu to run Goturn,i7 6700hq,less 10FPS.

Goturn single object tracking i7 8750h 30-35 fps

delongqilinksprite commented 5 years ago

if use opencv4 dnn may get more better benchmark!

GOBish commented 4 years ago

Has anyone figured out how to use the OpenCV version of Goturn with the GPU? Specifically, using CUDA on Jetson. I have CUDA enabled in OpenCV. Currently, it is only using the CPU and runs ~8fps.