Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 538-539 is useless in dsst_tracker.hpp #5

Open
Superlee506 opened this issue Jun 19, 2018 · 1 comment
Open

Line 538-539 is useless in dsst_tracker.hpp #5

Superlee506 opened this issue Jun 19, 2018 · 1 comment

Comments

@Superlee506
Copy link

In dss_tracker.hpp, Line 538-539 seems useless. Do I miss anything?

boundingBox &= Rect(0, 0, static_cast<T>(image.cols), static_cast<T>(image.rows));
boundingBox = tempBoundingBox;
@myro
Copy link

myro commented Jun 19, 2018

539 is useful as boundingBox is an out argument (aka. it's a return value, which is not set before)
538 does currently nothing. I am not sure if it's obsolete code or a bug (my first guess would be a bug, but that requires some analysis).

boundingBox &= Rect(0, 0, static_cast<T>(image.cols), static_cast<T>(image.rows));
is also affected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants