File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ namespace cv {
107
107
// select the object
108
108
setMouseCallback ( windowName, mouseHandler, (void *)&selectorParams );
109
109
110
- // end selection process on SPACE (32) BACKSPACE (27) or ENTER (13)
110
+ // end selection process on SPACE (32) ESC (27) or ENTER (13)
111
111
while (!(key==32 || key==27 || key==13 )){
112
112
// draw the selected object
113
113
rectangle (
@@ -156,9 +156,9 @@ namespace cv {
156
156
157
157
// show notice to user
158
158
printf (" Select an object to track and then press SPACE or ENTER button!\n " );
159
- printf (" Finish the selection process by pressing BACKSPACE button!\n " );
159
+ printf (" Finish the selection process by pressing ESC button!\n " );
160
160
161
- // while key is not Backspace
161
+ // while key is not ESC (27)
162
162
while (key!=27 ){
163
163
temp=select (windowName, img, true , fromCenter);
164
164
if (temp.width >0 && temp.height >0 )
You can’t perform that action at this time.
0 commit comments