-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstart.html
84 lines (67 loc) · 2.5 KB
/
start.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
82
83
84
<!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">
<title>Document</title>
<link rel="stylesheet" href="stylemain.css">
<script defer src="face-api.min.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script defer src="script.js"></script>
<style>
/* body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
} */
canvas {
position: absolute;
}
</style>
</head>
<body>
<script>function myFunction() {
var image = document.getElementById('myImage1');
if (image.src.match("https://cdn.discordapp.com/attachments/798212050496126976/843450661974441994/image_search_1621164670779.png")) {
image.src = "https://cdn.discordapp.com/attachments/798212050496126976/843450662150340618/image_search_1621164496239.png";
}
else {
image.src = "https://cdn.discordapp.com/attachments/798212050496126976/843450661974441994/image_search_1621164670779.png";
}
var element = document.body;
element.classList.toggle("dark-mode");
}</script>
<div class="container">
<img width="200px" src="https://cdn.discordapp.com/attachments/843006777993330698/843429952287539200/PicsArt_05-16-03.37.55.png" class="img1" alt="">
<img id="myImage1" class="toggle" onclick="myFunction()" src="https://cdn.discordapp.com/attachments/798212050496126976/843450662150340618/image_search_1621164496239.png" alt="" height="40px">
</div>
<center>
<button type="button" name="button" onclick="chartstart();" class="start">START</button>
<button type="button" name="button" onclick="drawChart(), mylinkfunction();" class="start">STOP</button>
<div class="btnn">
</div>
<div class="float-container">
<div class="float-child">
<video id="video" width="300px" height="300px" autoplay muted></video>
</div>
<div id="chartContainer" class="float-child" style="height: 200px; width: 300px;"></div>
</div>
<div class="pie">
<div id="piechart">
</div>
<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
<footer>
<p>
Made with ❤ by Hanna, Hamda and Aakash | Source code
<a href="github.com/hanna2001/visualize" style="color: white">here</a>
</p>
</footer>
</div>
</center>
</body>
</html>