-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (65 loc) · 3.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" type="image/png" href="https://static.codepen.io/assets/favicon/apple-touch-icon-5ae1a0698dcc2402e9712f7d01ed509a57814f994c660df9f7a952f3060705ee.png" />
<meta name="apple-mobile-web-app-title" content="CodePen">
<link rel="shortcut icon" type="image/x-icon" href="https://static.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico" />
<link rel="mask-icon" type="" href="https://static.codepen.io/assets/favicon/logo-pin-8f3771b1072e3c38bd662872f6b673a722f4b3ca2421637d5596661b4e2132cc.svg" color="#111" />
<meta name="theme-color" content="#585a5a" />
<meta property="og:image" content="screen_saythatcolor.jpg" />
<link rel="stylesheet" type="text/css" href="style.css">
<title>Say That Color!</title>
</head>
<body translate="no">
<ul class="main-menu">
<li class="menu-item">
<a href="https://hamzeen.github.io" target="_blank" class="menu-item-link" data="p">
<span class="menu-item-link-txt">portfolio</span></a>
</li>
<li class="menu-item">
<a href="https://medium.com/@hamzeen" target="_blank" class="menu-item-link" data="b">
<span class="menu-item-link-txt">blog</span></a>
</li>
</ul>
<div class="container">
<h3>Say That Color!</h3>
<p class="instructions">
If promted allow this page to access your camera.
Next click on the camera button when you have the
object or backdrop of which you want to know the closet human-interpretable color.
Now you can touch or click anywhere on this snapshot & hear the name of the color underneath.
</p>
<div id="results-container">
<div id="color-result" class="hide">
<div class="color-box"> </div>
<div class="color-code">#AA8800</div>
</div>
</div>
<div class="app">
<a href="#" id="start-camera" class="visible">Touch here to start the app.</a>
<video id="camera-stream"></video>
<img id="snap">
<p id="error-message"></p>
<div class="controls">
<a href="#" id="delete-photo" title="Delete Photo" class="disabled">
<i class="material-icons">delete</i></a>
<a href="#" id="take-photo" title="Take Photo">
<i class="material-icons">camera_alt</i></a>
<a href="#" id="download-photo" download="selfie.png" title="Save Photo" class="disabled">
<i class="material-icons">file_download</i></a>
</div>
<canvas></canvas>
<audio id="talkify-audio" controls="" style="display: none; width: 100%;"><source type="audio/mpeg" src="">
</audio>
</div>
<div id="copyright">
<small>Copyright © 2020 Hamzeen. H. All rights reserved.</small></div>
</div>
<script src="https://static.codepen.io/assets/common/stopExecutionOnTimeout-157cd5b220a5c80d4ff8e0e70ac069bffd87a61252088146915e8726e5d9f147.js"></script>
<script src='https://rawgit.com/Hagsten/Talkify/master/dist/talkify.min.js'></script>
<script src='https://code.jquery.com/jquery-2.1.3.js'></script>
<script src='app.js'></script>
</body>
</html>