-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (38 loc) · 2.41 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guitar 2000</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="guitar_help.ico">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div id="help-btn"><button class="w3-button w3-round-xlarge w3-blue" id="help" onclick="displayHelp()">도움말</button></div>
<div id="title">Guitar Detect</div>
<div id="webcam-container"><canvas width="400" height="400"></div>
<div id="thinkbox">Press Start!</div>
<div id="label-container">
<div class="progress">
<div id="bar-01" class="progress-bar progress-bar-striped bg-primary progress-bar-animated" role="progressbar" style="width: 19%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress">
<div id="bar-02" class="progress-bar progress-bar-striped bg-black progress-bar-animated" role="progressbar" style="width: 72%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div class="progress">
<div id="bar-03" class="progress-bar progress-bar-striped bg-success progress-bar-animated" role="progressbar" style="width: 69%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
<div class="btn-group" id="buttons" role="group" aria-label="Basic mixed styles example">
<button type="button" id="btn01" class="btn btn-primary btn-lg" onclick="init()">Start</button>
<button type="button" id="btn02" class="btn btn-danger btn-lg" onClick="window.location.href=window.location.href">Stop</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.3.1/dist/tf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@teachablemachine/image@0.8/dist/teachablemachine-image.min.js"></script>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body>
</html>