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
0a7c60b4
Unverified
Commit
0a7c60b4
authored
7 years ago
by
Alexander Alekhin
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10047 from meganetaaan:master
Fix sample code in js_tutorials
parents
3921fab2
2fc1edfc
master
4.3.0
4.2.0
4.1.2
4.1.2-openvino
4.1.1
4.1.1-openvino
4.1.0
4.1.0-openvino
4.0.1
4.0.1-openvino
4.0.0
4.0.0-rc
4.0.0-openvino
4.0.0-beta
4.0.0-alpha
3.4.10
3.4.9
3.4.8
3.4.7
3.4.6
3.4.5
3.4.4
3.4.3
3.4.3-openvino
3.4.2
3.4.2-openvino
3.4.1
3.4.1-cvsdk
3.4.0
3.4.0-rc
No related merge requests found
Show 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 @
0a7c60b4
...
...
@@ -65,7 +65,7 @@ for (let i = 0; i < faces.size(); ++i) {
for
(
let
j
=
0
;
j
<
eyes
.
size
();
++
j
)
{
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
,
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
]);
}
roiGray
.
delete
();
roiSrc
.
delete
();
...
...
This diff is collapsed.
Click to expand it.
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