Commit 64d94e94 authored by Eric Zavesky's avatar Eric Zavesky

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

  - remove double-check, make MSVC happy
parent 029559a7
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment