gnebehay/OpenTLD

Bounding Box remains in frame, even though object tracked is not in the frame

Closed this issue · 1 comments

How to recreate issue:

  1. Run opentld

  2. Press 'r', select an object and press 'enter'

  3. Learn for a while, and then get the object out of the frame

  4. Yellow bounding box remains in the frame, even though object tracked is out of the frame

The problem appeared after commit: 'Another memory fix (special thanks to jasoncatchpole)', and specifically at TLD.cpp , lines 102-108. I added this after line 108:

else
{
prevBB->x = -1;
prevBB->y = -1;
prevBB->width = -1;
prevBB->height = -1;
}

and it seems to have fixed the issue. Please verify.

Thnx!

Thank you!

This bug is fixed with 504c055

BR Clemens