-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcorrect.html
81 lines (74 loc) · 2.32 KB
/
correct.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
69
70
71
72
73
74
75
76
77
78
79
80
81
<html>
<meta charset="UTF-8" />
<title>Cprrection Module</title>
<!-- <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=Poppins:wght@100;400&family=Roboto:wght@100;400&display=swap" rel="stylesheet"> -->
<link rel="stylesheet" href="./style/css2.css">
<style>
body{
font-family: 'Poppins', sans-serif;
background-image: linear-gradient(-45deg, #fae6e6 0%, #cafaf9 60%);
display: flex;
flex-direction: column;
align-items: center;
}
.top-section{
width: 60%;
display: flex;
flex-direction: column;
}
.pose_selection{
font-size: 1.5em;
padding: 0 0.5em;
}
.pose_selection select{
/* border-bottom: 1px solid red; */
font-size: 0.75em;
padding: 0.5em 1em;
border-radius: 5px;
background-color: rgba(0,0,0,0.1);
}
.pose_dropdown *{
outline: 0px;
background-color: transparent;
}
.message{
/* display: block;
width: 75%; */
font-size: 1.75em;
border-radius: 10px;
padding: 10px;
}
#message{
font-weight: bolder;
color: rgb(2, 165, 165);
}
</style>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5@latest/dist/ml5.min.js"></script> -->
<script src="./script/p5.min.js"></script>
<script src="./script/p5.dom.min.js"></script>
<script src="./script/ml5.min.js"></script>
<!-- <script src="collectData.js"></script> -->
<!-- <script src="trainNN.js"></script> -->
<script src="correct.js"></script>
<body>
<h1 align="center">Yoga Pose Correction System</h1>
<div class="top-section">
<div class="pose_selection">
<label for="poses_dropdown">I want to practice</label>
<select name="poses_dropdown" id="poses_dropdown">
<option value="none" selected="selected">--Select--</option>
</select>
pose
</div>
<div class="message">
Message: <span id="message">
Select your pose from the dropdown menu
</span>
</div>
</div>
</body>
</html>