-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathface.html
68 lines (55 loc) · 2.09 KB
/
face.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
<!DOCTYPE html>
<html lang="en">
<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" />
<!-- favicon image -->
<link rel="icon" type="image/x-icon" href="images/fav_logo.svg">
<!-- CSS files -->
<link rel="stylesheet" href="css/style.css" />
<!-- font cdn connect -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<title>Looking 4||Login</title>
</head>
<body>
<header class="header">
<nav class="navbar">
<a href="index.html">
<img class="logo" src="images/logo_white.svg">
</a>
<a class="logo_text" href="index.html">Looking 4</a>
</nav>
</header>
<div class="container">
<video id="video" height="400" width="600" autoplay muted></video>
</div>
<div class="result-container">
<div id="gender">Gender</div>
<div id="age">Estimated Age</div>
<h2 class="message">Hello! dear,
<script type="text/javascript">
document.write();
var day = new Date();
var hr = day.getHours();
if (hr >= 0 && hr < 12) {
document.write("what a lovely Morning...");
} else if (hr == 12) {
document.write("Good Noon..");
} else if (hr >= 12 && hr <= 17) {
document.write("Good Afternoon..");
} else {
document.write("what a lovely Evening...");
}
document.write();
</script>
<div id="emotion">Emotion</div>
</h2>
</div>
<script src="./js/face-api.min.js"></script>
<script src="./js/main.js"></script>
</body>
</html>