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
cce4f7b3
Commit
cce4f7b3
authored
Jul 01, 2015
by
Kurnianggoro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing some warnings
parent
08bc4b6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
kcf.cpp
modules/tracking/samples/kcf.cpp
+4
-4
No files found.
modules/tracking/samples/kcf.cpp
View file @
cce4f7b3
...
...
@@ -165,16 +165,16 @@ Rect2d BoxExtractor::extract(const std::string& windowName, Mat img, bool showCr
// horizontal line
line
(
params
.
image
,
Point
(
params
.
box
.
x
,
params
.
box
.
y
+
(
int
)(
params
.
box
.
height
/
2
)),
Point
(
params
.
box
.
x
+
params
.
box
.
width
,
params
.
box
.
y
+
(
int
)(
params
.
box
.
height
/
2
)),
Point
(
(
int
)
params
.
box
.
x
,(
int
)(
params
.
box
.
y
+
params
.
box
.
height
/
2
)),
Point
(
(
int
)(
params
.
box
.
x
+
params
.
box
.
width
),(
int
)(
params
.
box
.
y
+
params
.
box
.
height
/
2
)),
Scalar
(
255
,
0
,
0
),
2
,
1
);
// vertical line
line
(
params
.
image
,
Point
(
params
.
box
.
x
+
(
int
)(
params
.
box
.
width
/
2
),
params
.
box
.
y
),
Point
(
params
.
box
.
x
+
(
int
)(
params
.
box
.
width
/
2
),
params
.
box
.
y
+
params
.
box
.
height
),
Point
(
(
int
)(
params
.
box
.
x
+
params
.
box
.
width
/
2
),(
int
)
params
.
box
.
y
),
Point
(
(
int
)(
params
.
box
.
x
+
params
.
box
.
width
/
2
),(
int
)(
params
.
box
.
y
+
params
.
box
.
height
)
),
Scalar
(
255
,
0
,
0
),
2
,
1
);
}
...
...
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