-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (37 loc) · 1.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sunway Ugly and Beautiful Face Detector</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="navbar">
<div id="header">
<img id="logo" src="./files/logo.png" alt="Sunway Logo">
</div>
<div id="title">
<h1>Sunway Ugly and Beautiful Face Detector</h1>
</div>
</div>
<div class="question"><h1>Choose a option to select photo !!!</h1></div>
<div id="buttonContainer">
<div id="inputImagei" class="captureButton">
<input type="file" id="inputImage" accept="image/*">
<label for="inputImage">Choose Image</label>
</div>
<button id="captureButtonCam" class="captureButton">Capture from Camera</button>
</div>
<video id="video" autoplay></video>
<canvas id="canvas"></canvas>
<div id="photoResultContainer" class="hide">
<div id="imagePreview"></div>
<div id="result"></div>
</div>
<button id="captureButton" class="hide captureButton">Capture Your Photo</button>
<button id="classifyButton" class="hide captureButton">Classify</button>
<div class="questionnote"><h3><b style="color: brown;">Note:</b> you are lucky enough , our system will detect you as ugly, and you will receive a gift hamper. </h3></div><button id="classifyButton2" class="hide captureButton">Classify</button>
</body>
<script src="script.js"></script>
</html>