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-25 22:52:53 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
542d10d1052c2cda92491bfcfaa42ba51da0d245
542d10d1
1 parent
908a4c4e
Update flask
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
flask/templates/register.html
flask/templates/register.html
View file @
542d10d
...
...
@@ -29,8 +29,9 @@ function activate()
function
detect_face
()
{
let
classifier
=
new
cv
.
CascadeClassifier
();
let
imgElement
=
document
.
getElementById
(
'imagefile'
);
classifier
.
load
(
'haarcascade_frontalface_default.xml'
);
let
src
=
cv
.
imread
(
'imagefile'
);
let
src
=
cv
.
imread
(
imgElement
);
let
dst
=
new
cv
.
Mat
(
video
.
height
,
video
.
width
,
cv
.
CV_8UC4
);
let
gray
=
new
cv
.
Mat
();
src
.
copyTo
(
dst
);
...
...
Please
register
or
login
to post a comment