-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
63 lines (54 loc) · 2.75 KB
/
Copy pathhome.html
File metadata and controls
63 lines (54 loc) · 2.75 KB
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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Nono's Objects Recognition</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=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"
integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<h1>Nono's Objects Recognition POC</h1>
<main class="container">
<!--button section-->
<div class="btn btn-left hidden" data-audio="play">
<i class="fas fa-play-circle"
id="btn-start"
data-audio="play"
></i>
</div>
<div class="btn btn-right hidden"
data-audio="stop">
<i class="fas fa-stop-circle"
id="btn-stop"
data-audio="stop"
></i>
</div>
<!--video frame sections-->
<div id="loader" class="loader"></div>
<img class="top-frame" src="img/topframe.png" alt="nono top" />
<img class="left-frame" src="img/leftframe.png" alt="nono left" />
<img class="right-frame" src="img/rightframe.png" alt="nono right" />
<img id="video-frame" src="img/nono-head.png" alt="nono middle" data-audio="hello"/>
<a class="off prediction hidden">I can recognise a <span class="result">... </span></a>
<video id="video" autoplay class="off hidden"></video>
<canvas id="canvas" width="320" height="240" class="hidden"></canvas>
<!--audios-->
<audio id="hello" preload="auto" src="audio/hello.mp3"></audio>
<audio id="showme" preload="auto" src="audio/showme.mp3"></audio>
<audio id="bye" preload="auto" src="audio/bye.mp3"></audio>
</main>
<small>Propulsed by AuSouBa Team</small>
<!-- Load TensorFlow.js. This is required to use coco-ssd model. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@2.0.0/dist/tf.min.js" integrity="sha256-pjdJsXnYPdiQhKn0nCgE8Ds/cEYZD98dvEW/unfVnLw=" crossorigin="anonymous"></script>
<!-- Load the coco-ssd model. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/coco-ssd" integrity="sha256-37b6iXyjQMu0EPoWyZUb5jgAirPcOddX0kPWjxBEMFs=" crossorigin="anonymous"></script>
<!-- Load the script -->
<script src="script.js"></script>
</body>
</html>