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:46:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
04c98854399f94af5078f7cce1a853805c800770
04c98854
1 parent
d724b0c2
Update flask
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
flask/templates/register.html
flask/templates/register.html
View file @
04c9885
...
...
@@ -11,7 +11,6 @@
<script
type=
'text/javascript'
src=
"{{url_for('static', filename='js/utils.js')}}"
></script>
<script
type=
'text/javascript'
src=
"https://code.jquery.com/jquery-1.12.4.min.js"
></script>
<script
type=
'text/javascript'
>
let
tempCanvas
=
document
.
createElement
(
"canvas"
);
function
load_cascade
()
{
let
faceCascadeFile
=
'haarcascade_frontalface_default.xml'
...
...
@@ -76,7 +75,7 @@ function submit()
type
:
"POST"
,
url
:
"/register"
,
dataType
:
"json"
,
data
:
{
'image'
:
b64encoded
,
'student_id'
:
student_id
'student_name'
:
student_name
},
data
:
{
'image'
:
b64encoded
,
'student_id'
:
student_id
,
'student_name'
:
student_name
},
success
:
function
(
data
){
if
(
data
.
status
==
"success"
){
alert
(
"등록 성공"
);
...
...
@@ -98,13 +97,10 @@ var loadFile = function(event) {
}
};
cv
[
'onRuntimeInitialized'
]
=
()
=>
{
load_cascade
();
};
let
tempCanvas
=
document
.
createElement
(
"canvas"
);
</script>
</head>
<body
class=
"w3-light-grey"
>
<body
onload=
"cv['onRuntimeInitialized']=()=>{load_cascade();};"
class=
"w3-light-grey"
>
<!-- w3-content defines a container for fixed size centered content,
and is wrapped around the whole page content, except for the footer in this example -->
<div
class=
"w3-content"
style=
"max-width:1400px"
>
...
...
Please
register
or
login
to post a comment