Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
2fc1edfc
Commit
2fc1edfc
authored
Nov 08, 2017
by
Shinya Ishikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sample code in js_tutorials
parent
7267e94b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
js_face_detection.html
doc/js_tutorials/js_assets/js_face_detection.html
+1
-1
No files found.
doc/js_tutorials/js_assets/js_face_detection.html
View file @
2fc1edfc
...
@@ -65,7 +65,7 @@ for (let i = 0; i < faces.size(); ++i) {
...
@@ -65,7 +65,7 @@ for (let i = 0; i < faces.size(); ++i) {
for
(
let
j
=
0
;
j
<
eyes
.
size
();
++
j
)
{
for
(
let
j
=
0
;
j
<
eyes
.
size
();
++
j
)
{
let
point1
=
new
cv
.
Point
(
eyes
.
get
(
j
).
x
,
eyes
.
get
(
j
).
y
);
let
point1
=
new
cv
.
Point
(
eyes
.
get
(
j
).
x
,
eyes
.
get
(
j
).
y
);
let
point2
=
new
cv
.
Point
(
eyes
.
get
(
j
).
x
+
eyes
.
get
(
j
).
width
,
let
point2
=
new
cv
.
Point
(
eyes
.
get
(
j
).
x
+
eyes
.
get
(
j
).
width
,
eyes
.
get
(
j
).
y
+
eyes
.
get
(
i
).
height
);
eyes
.
get
(
j
).
y
+
eyes
.
get
(
j
).
height
);
cv
.
rectangle
(
roiSrc
,
point1
,
point2
,
[
0
,
0
,
255
,
255
]);
cv
.
rectangle
(
roiSrc
,
point1
,
point2
,
[
0
,
0
,
255
,
255
]);
}
}
roiGray
.
delete
();
roiSrc
.
delete
();
roiGray
.
delete
();
roiSrc
.
delete
();
...
...
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