repl.it
@swoksam54/

Potion Seller

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • camvas.js
  • glfx.js
  • image.jpg
  • lploc.js
  • pico.js
  • script.js
  • style.css
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
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="chrome=1">
		<title>Using pico.js and lploc.js for real-time localization of eye pupils</title>
		<script src="camvas.js"></script>
		<script src="glfx.js"></script>
		<script src="pico.js"></script>
		<script src="lploc.js"></script>
		<!--<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">-->
	</head>
	<script>
	</script>
	<body>
   <img id="image" src="image.jpg">
		<hr>
		<section>
			<h3>Using pico.js and lploc.js for real-time localization of eye pupils</h3>
			<p>Click the button below and allow the page to access your webcam.</p>
			<p><b>All the processing is done on the client side, i.e., without sending images to a server.</b></p>
			<p>More information about the algotihm is available <a href="../">here</a>.</p>
		</section>
		<hr>
    <div id="koman"> </div>
		<p><center><input type="button" value="Start webcam feed" onclick="button_callback()"></center></p>
		<p><center><canvas id="canvox" width=640 height=480></canvas></center></p>
	</div>
	</body>
  <script src="script.js"></script>
</html>
result
console