mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-21 06:11:09 +08:00
- remove double-check, make MSVC happy
This commit is contained in:
@@ -161,8 +161,9 @@ namespace cv {
|
|||||||
printf("Finish the selection process by pressing ESC button!\n" );
|
printf("Finish the selection process by pressing ESC button!\n" );
|
||||||
|
|
||||||
// while key is not ESC (27)
|
// while key is not ESC (27)
|
||||||
while(key!=27){
|
for(;;) {
|
||||||
temp=select(windowName, img, true, fromCenter);
|
temp=select(windowName, img, true, fromCenter);
|
||||||
|
if(key==27) break;
|
||||||
if(temp.width>0 && temp.height>0)
|
if(temp.width>0 && temp.height>0)
|
||||||
box.push_back(temp);
|
box.push_back(temp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user