Skip to content

Commit d0fd404

Browse files
committed
Merge pull request #539 from sturkmen72:typo-correction-roi-selector-cpp
2 parents cf92b8b + bd20972 commit d0fd404

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/tracking/src/roiSelector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace cv {
107107
// select the object
108108
setMouseCallback( windowName, mouseHandler, (void *)&selectorParams );
109109

110-
// end selection process on SPACE (32) BACKSPACE (27) or ENTER (13)
110+
// end selection process on SPACE (32) ESC (27) or ENTER (13)
111111
while(!(key==32 || key==27 || key==13)){
112112
// draw the selected object
113113
rectangle(
@@ -156,9 +156,9 @@ namespace cv {
156156

157157
// show notice to user
158158
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" );
160160

161-
// while key is not Backspace
161+
// while key is not ESC (27)
162162
while(key!=27){
163163
temp=select(windowName, img, true, fromCenter);
164164
if(temp.width>0 && temp.height>0)

0 commit comments

Comments
 (0)