-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
85 lines (83 loc) · 2.61 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PoseNet - Keypoints Normalization</title>
<style type='text/css'>
.mdl-layout {
background: #333;
color: white;
}
.mdl-layout__header-row {
background: #000;
}
#input {
width: 500px;
}
/* #data-bounding-box {
color: red;
} */
#data-original {
color: #ccc;
}
#data-resized {
color: cyan;
}
#data-normalized {
color: yellow;
}
#data-one-dimensional {
color: #0f0;
}
</style>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">PoseNet Keypoints Normalization</span>
<div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="https://github.com/paulvollmer/posenet-keypoints-normalization">GitHub</a>
</nav>
</div>
</header>
<main class="mdl-layout__content">
<div class="page-content">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<img id="input" src="backpackman.jpg">
<canvas id="visualize" width="500" height="500"/>
</div>
</div>
<div class="mdl-grid">
<!-- <div class="mdl-cell mdl-cell--3-col">
<h4>Bounding Box</h4>
<pre id="data-bounding-box"/>
</div> -->
<div class="mdl-cell mdl-cell--3-col">
<h4>Original</h4>
<pre id="data-original"/>
</div>
<div class="mdl-cell mdl-cell--3-col">
<h4>Resize</h4>
<pre id="data-resized"/>
</div>
<div class="mdl-cell mdl-cell--3-col">
<h4>Normalized</h4>
<pre id="data-normalized"/>
</div>
<div class="mdl-cell mdl-cell--3-col">
<h4>One Dimensional</h4>
<pre id="data-one-dimensional"/>
</div>
</div>
</div>
</main>
</div>
<script src="app.js"></script>
</body>
</html>