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:48:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2bf95f20dfea1794a52321b129b5a4d608b4d9d0
2bf95f20
1 parent
04c98854
Update flask
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
flask/templates/register.html
flask/templates/register.html
View file @
2bf95f2
...
...
@@ -17,7 +17,7 @@ function load_cascade()
let
faceCascadeURL
=
'static/js/haarcascade_frontalface_default.xml'
let
utils
=
new
Utils
(
'errorMessage'
);
utils
.
createFileFromUrl
(
faceCascadeFile
,
faceCascadeURL
,
()
=>
{
activate
()
activate
()
;
});
}
function
activate
()
...
...
@@ -81,7 +81,7 @@ function submit()
alert
(
"등록 성공"
);
}
else
{
alert
(
"등록 실패"
)
alert
(
"등록 실패"
)
;
}
}
})
...
...
@@ -90,10 +90,10 @@ function submit()
var
loadFile
=
function
(
event
)
{
var
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
event
.
target
.
files
[
0
]);
output
.
onload
=
function
()
{
reader
.
onload
=
function
()
{
var
output
=
document
.
getElementById
(
'imagefile'
);
output
.
src
=
URL
.
createObjectURL
(
event
.
target
.
files
[
0
]);
detect_face
()
detect_face
()
;
}
};
...
...
Please
register
or
login
to post a comment