Bounding Box remains in frame, even though object tracked is not in the frame
Closed this issue · 1 comments
elendorial commented
How to recreate issue:
-
Run opentld
-
Press 'r', select an object and press 'enter'
-
Learn for a while, and then get the object out of the frame
-
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!