-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
67 lines (59 loc) · 2.95 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Kathputli</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Importing the webpage's stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css">
<link rel="stylesheet" href="style.css">
<script src="js/char.js"></script>
</head>
<body>
<div class="container">
<div class="columns ">
<div class="column is-8 ">
<div id = "inst" >
<img src="img/instruc.png" >
</div>
<div id="liveView" class="camView">
<video id="webcam" autoplay height=auto width="1080px"></video>
</div>
</div>
<div class="column is-1"></div>
<div class="column is-3">
<div class="card has-text-centered">
<div class="card-image ">
<figure class="image has-text-centered" >
<img src="img/puppet.png" alt="Placeholder image" style="width: 140px;height: auto ; padding: 10% 0 10% 0;">
</figure>
</div>
<div class="card-content">
<div class="content" style="margin-top: -25px;">
<p class="title is-centered Heading" style="margin-bottom: 0px; margin-top: 10%;">Kathputli</p>
<p class="subtitle is-6" style="margin-top: 0px; color: #9A031E; font-weight: bold;">An AR Puppetry Experience</p>
<div class="div1">
<a class="white" href="#" id="webcamButton1">
<p><span class="bg"></span><span class="base"></span><span class="text">Scan Character 1</span></p></a>
<a class="white" href="#" id="webcamButton2">
<p><span class="bg"></span><span class="base"></span><span class="text">Scan Character 2</span></p></a>
<a class="white" href="#" id="webcamButton3">
<p><span class="bg"></span><span class="base"></span><span class="text">Scan Character 3</span></p></a>
<a class="white" href="play.html" onclick="location.href=this.href+'?char1='+ globalVariable.char1 + '&char2='+ globalVariable.char2 + '&char3='+ globalVariable.char3 ;return false;">
<p><span class="bg"></span><span class="base"></span><span class="text">play</span></p></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Importing TensorFlow.js library -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js" type="text/javascript"></script>
<!-- Loading the coco-ssd model to use to recognize things in images -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/coco-ssd"></script>
<!-- Importing the page's JavaScript -->
<script src="js/script0.js" defer></script>
</body>
</html>