mirror of https://github.com/davisking/dlib.git
Changed the display size of the boxes in this example so that each
box is the same size as the SURF window. I thought the smaller boxes were easier on the eyes but not using the SURF window size is probably confusing. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403172
This commit is contained in:
parent
e60bfc7bde
commit
17e5172d53
|
@ -70,7 +70,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
// Pull out the info from the SURF point relevant to figuring out
|
||||
// where its rotated box should be.
|
||||
const unsigned long box_size = static_cast<unsigned long>(sp[i].p.scale*10);
|
||||
const unsigned long box_size = static_cast<unsigned long>(sp[i].p.scale*20);
|
||||
const double ang = sp[i].angle;
|
||||
const point center(sp[i].p.center);
|
||||
rectangle rect = centered_rect(center, box_size, box_size);
|
||||
|
|
Loading…
Reference in New Issue