-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcamera-view.html
131 lines (111 loc) · 4.75 KB
/
camera-view.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!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">
<title>Smart Lens</title>
<link rel="stylesheet" href="https://unpkg.com/@ivteplo/[email protected]/build/main.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/loadingOverlay.css">
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/getDetail_init.js"></script>
</head>
<body>
<!-- Camera -->
<main id="camera">
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<!-- Camera sensor -->
<canvas id="camera--sensor"></canvas>
<h3 id="SmartLens">Smart Lens
<a href="index.html" id="cross">
<span></span>
</a>
</h3>
<!-- Camera view -->
<video id="camera--view" autoplay playsinline></video>
<canvas id="canvas_no_display"></canvas>
<input type="range" class="slider" id="zoom" >
<div id="sheet" class="column justify-end" aria-hidden="true">
<div id="detailContainer">
<p class="info" id="over-details">
Click on details for more information
</p>
<a id="detail0_0" class="details">
<img src="" class="detailImg" >
<span class="detailLabel" id="detail0_0Label"></span>
</a>
<a id="detail0_1" class="details">
<img src="" class="detailImg" >
<span class="detailLabel" id="detail0_1Label"></span>
</a>
<a id="detail1_0" class="details">
<img src="" class="detailImg" >
<span class="detailLabel" id="detail1_0Label"></span>
</a>
<a id="detail1_1" class="details">
<img src="" class="detailImg" >
<span class="detailLabel" id="detail1_1Label"></span>
</a>
</div>
<!-- The sheet itself -->
<div class="contents column">
<!-- Sheet controls -->
<header class="controls">
<!-- The thing to drag if you want to resize the sheet -->
<div class="draggable-area">
<div class="draggable-thumb"></div>
</div>
<!-- Button to close the sheet -->
<button id="close-sheet" type="button" title="Close the sheet"><img src="images/icons/down-arrow.png" class="responsive-image"></button>
</header>
<!-- Body of the sheet -->
<main class="body fill column">
<div id="languageContainer">
<a id="Italian" href="#">Italiano</a>
<a id="English" href="it/camera-view.html">English</a>
</div>
<h2 id="artwork">
<span id="artworkTitle"></span>
-
<span id="author"></span>
</h2>
<h3 id="detailName"></h3>
<div class="flex-container">
<div>
<img class="responsive-image" id="detailImage" src="">
</div>
<div id="information">
<audio id="audio" controls src=""></audio>
<button type="button" id="audioGuide">
<img class="responsive-image" src="images/icons/Audio%20Icon.png">
<p>Listen to the guide</p>
</button>
<button type="button" id="restart">
↻ Restart
</button>
<p id="description">
</p>
</div>
</div>
<video class="responsive-image" id="detailVideo" src="" controls>
</video>
</main>
</div>
</div>
</main>
<!-- Reference to your JavaScript file -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js" type="text/javascript"></script>
<script src="js/webcamManager.js"></script>
<script src="js/bottomSheetManager.js"></script>
<!--Qui si può selezionare la versione di riconoscimento desiderata decommentando lo script di interesse.
WARNING: è necessario fare la stessa cosa anche in ./it/camera-view.html-->
<script src="js/getDetailsObjDet_json.js" type="module"></script>
<!--<script src="js/getDetailsRetrieval.js" type="module"></script>-->
<!--<script src="js/getDetailsClass.js" type="module"></script>-->
</body>
</html>