opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.4k stars 5.76k forks source link

GOTURN not working after 3.4.1 #2286

Closed chrmertz closed 4 years ago

chrmertz commented 5 years ago
System information (version)

works with:

Detailed description

I ran the program goturnTracker.py which I got from https://www.learnopencv.com/goturn-deep-learning-based-object-tracking/

It gives different results when running with opencv 3.4.1 then when running later versions. I confirmed this with my own tracking program, it was tracking well wit opencv 3.4.1, but did give bad results with the later versions.

Steps to reproduce

follow the instructions in https://www.learnopencv.com/goturn-deep-learning-based-object-tracking/ and run "pythone3 goturnTracker.py" after installing different versions of opencv (3.4.1 to see it run correctly, later versions for running with problems.

Example of successful and unsuccessful tracking is shown in the two videos in the attached zip file.

chaplin_GOTURN_problem.zip

spmallick commented 5 years ago

I can confirm this. With newer versions of OpenCV, the tracker is not working as well as it used to.

berak commented 4 years ago

imho, this issue can be closed, since https://github.com/opencv/opencv/pull/16617