Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
joyyueyi committed Jun 22, 2018
1 parent fe046b5 commit d76608c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/opentld/main/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ void Main::doWork()
CvScalar rectangleColor = red;
cvRectangle(img, tld->currBB->tl(), tld->currBB->br(), rectangleColor, 2, 8, 0);
}
else
{
tld->release();
}

CvFont font;
cvInitFont(&font, CV_FONT_HERSHEY_SIMPLEX, .5, .5, 0, 2, 8);
Expand Down

0 comments on commit d76608c

Please sign in to comment.