Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2-capstone-design2
/
2014104149
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Graduate
2020-11-29 03:28:14 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
158d57b9ec482e62004802c6c17f6130ec77f009
158d57b9
1 parent
d076342d
Update scaleFactor
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
flask/config.cnf
flask/templates/index.html
flask/templates/register.html
flask/config.cnf
View file @
158d57b
[verification_server]
model=models/20200816-080621
threshold=0.7
75
threshold=0.7
8
image_size=160
...
...
flask/templates/index.html
View file @
158d57b
...
...
@@ -153,7 +153,7 @@ function main()
src
.
copyTo
(
dst
);
// detect faces.
let
msize
=
new
cv
.
Size
(
video
.
width
/
4
,
video
.
height
/
4
);
classifier
.
detectMultiScale
(
dst
,
faces
,
1.1
,
3
,
0
,
msize
);
classifier
.
detectMultiScale
(
dst
,
faces
,
1.1
,
5
,
0
,
msize
);
// draw faces.
for
(
let
i
=
0
;
i
<
faces
.
size
();
++
i
)
{
let
face
=
faces
.
get
(
i
);
...
...
flask/templates/register.html
View file @
158d57b
...
...
@@ -133,7 +133,7 @@ function main()
src
.
copyTo
(
dst
);
// detect faces.
let
msize
=
new
cv
.
Size
(
video
.
width
/
4
,
video
.
height
/
4
);
classifier
.
detectMultiScale
(
dst
,
faces
,
1.1
,
3
,
0
,
msize
);
classifier
.
detectMultiScale
(
dst
,
faces
,
1.1
,
5
,
0
,
msize
);
// draw faces.
for
(
let
i
=
0
;
i
<
faces
.
size
();
++
i
)
{
let
face
=
faces
.
get
(
i
);
...
...
Please
register
or
login
to post a comment