forked from MikeKovarik/exifr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdepth-map-extraction.html
57 lines (48 loc) · 950 Bytes
/
depth-map-extraction.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,initial-scale=1,user-scalable=yes"/>
<style>
body {
font-family: 'Segoe UI Light', 'Segoe UI', 'Roboto', sans-serif;
box-sizing: border-box;
margin: 16px;
}
img {
width: 280px;
}
pre {
white-space: pre-line;
}
.layout {
display: flex;
}
.box + .box {
margin-left: 16px;
}
</style>
</head>
<body>
<input id="fileinput" type="file">
<div class="layout">
<div class="box">
<h3>Final photo (used as input)</h3>
<img id="input-file">
</div>
<div class="box">
<h3>Depth map</h3>
<img id="depth-map">
</div>
<div class="box">
<h3>Raw source</h3>
<img id="depth-source">
</div>
<div class="box">
<h3>Log</h3>
<pre id="log"></pre>
</div>
</div>
<!-- UMD module that exports itself to window.exifr -->
<script type="module" src="./depth-map-extraction.js"></script>
</body>
</html>