-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
68 lines (58 loc) · 2.33 KB
/
index.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!--
Copyright (c) 2018 ml5
This software is released under the MIT License.
https://opensource.org/licenses/MIT
-->
<html>
<head>
<meta charset="UTF-8">
<title>Mask Detection</title>
<link rel="icon" href="https://github.com/Tommy-Ngx/ai/raw/main/img/favicon.ico" type="image/png"/>
<link rel="apple-touch-icon" sizes="180x180" href="https://github.com/Tommy-Ngx/ai/raw/main/img/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/tfjs.min.js"></script>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<div class="fullscreen nopadding">
<div id="header">
<img src="https://github.com/Tommy-Ngx/ai/raw/main/img/TommyFull.png" width="50px" />
<img src=images/mask.png width =8%/>
<ul>
<li>Mask Detection</li>
<li>Nhận Dạng Khẩu Trang</li>
<!-- <li>😊</li> -->
</ul>
</div>
</div>
</head>
<body onresize="windowResized()">
<!-- <a position=center> <img src=images/mask.png height ="30px"> </a> -->
<h1 class='title'>Wear Mask or Not?</h1>
<!-- <h1 class='title'>Nhận Diện Khuôn Mặt có Mang Khẩu Trang</h1> -->
<h5 class='title' id='tips'> Picture:Only for normal sizes and extensions</h3>
<div id="container">
<img src="images/demo.jpg" id="image" class="center">
<div id="text-container">
<p id="instruction" class="green-color">
<button id="uploader-btn" onClick="clickUploader()">Upload Pictures</button>
<p class="green-color "> Drags your Photo here 📂, and check result</p>
<p id="warning" class="result-color"></p>
<p class="result-color">
Result is \ Kết Quả là:
</p>
<input name="imgFile" type="file" id="fileUploader" accept="image/*" onChange="handleFiles()">
</div>
<canvas id="canvas"></canvas>
</div>
<script src="js/detection.js"></script>
<script src="js/index.js"></script>
</body>
<footer>
<link href="https://fonts.googleapis.com/css?family=Raleway:200,100,400" rel="stylesheet" type="text/css" />
<h5>Be
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "safe.", "happy!", "made by Tommy.", "vigilant.", "better soon!", "😊 !" ]'></span>
</h5>
</footer>
</html>