-
Notifications
You must be signed in to change notification settings - Fork 0
/
face2.html
39 lines (37 loc) · 1.25 KB
/
face2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<title>人脸识别登录</title>
<style>
body{
background:url(./images/css_globe_bg.jpg);
}
</style>
</head>
<body onload="init()">
<nav class="navbar text-white navbar-dark bg-dark">
<a href="login.html" class="navbar-brand">
密码登录
</a>
<a href="https://qingwind6.github.io/Meta-2022.github.io/" > 进入unity</a>
</nav>
<p>
</p>
<div class="container text-center bordered" style="width:280px">
<form action="login.py" method="post" enctype="multipart/form-data">
<video onclick="snapshot(this);" width=250 height=250 id="video" controls autoplay></video>
<br>
<input type="password" placeholder="密码" name="password" class="form-control form-control-sm text-left">
<br>
<input type="text" accept="image/png" hidden name="current_image" id="current_image">
<button onclick="login()" class="btn-dark" value="login">登录 </button>
<br>
<br>
</form>
</div>
<canvas id="myCanvas" width="400" height="350" hidden></canvas>
</body>