Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
d0fd4040
Commit
d0fd4040
authored
Feb 01, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #539 from sturkmen72:typo-correction-roi-selector-cpp
parents
cf92b8b8
bd209728
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
roiSelector.cpp
modules/tracking/src/roiSelector.cpp
+3
-3
No files found.
modules/tracking/src/roiSelector.cpp
View file @
d0fd4040
...
...
@@ -107,7 +107,7 @@ namespace cv {
// select the object
setMouseCallback
(
windowName
,
mouseHandler
,
(
void
*
)
&
selectorParams
);
// end selection process on SPACE (32)
BACKSPACE
(27) or ENTER (13)
// end selection process on SPACE (32)
ESC
(27) or ENTER (13)
while
(
!
(
key
==
32
||
key
==
27
||
key
==
13
)){
// draw the selected object
rectangle
(
...
...
@@ -156,9 +156,9 @@ namespace cv {
// show notice to user
printf
(
"Select an object to track and then press SPACE or ENTER button!
\n
"
);
printf
(
"Finish the selection process by pressing
BACKSPACE
button!
\n
"
);
printf
(
"Finish the selection process by pressing
ESC
button!
\n
"
);
// while key is not
Backspace
// while key is not
ESC (27)
while
(
key
!=
27
){
temp
=
select
(
windowName
,
img
,
true
,
fromCenter
);
if
(
temp
.
width
>
0
&&
temp
.
height
>
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment