1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 12:55:15 +08:00

- no ambiguity about last rect (complement #459 and bd20972);

- remove double-check, make MSVC happy
This commit is contained in:
Eric Zavesky
2016-04-04 06:50:52 -05:00
parent 029559a749
commit 64d94e94e0

View File

@@ -161,8 +161,9 @@ namespace cv {
printf("Finish the selection process by pressing ESC button!\n" );
// while key is not ESC (27)
while(key!=27){
for(;;) {
temp=select(windowName, img, true, fromCenter);
if(key==27) break;
if(temp.width>0 && temp.height>0)
box.push_back(temp);
}