-
Notifications
You must be signed in to change notification settings - Fork 2
/
jstesting.html
32 lines (28 loc) · 1.27 KB
/
jstesting.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
<!DOCTYPE html>
<html>
<head>
<!-- Article: http://www.paulrhayes.com/2012-11/fun-with-face-detection-canvas-and-webcam-video -->
<!-- Demo: http://www.paulrhayes.com/experiments/webcam/ -->
<!-- Originally posted: 18th Nov 2012 -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Face detection, canvas & webcams — Paul Hayes</title>
<meta name="author" content="Paul Hayes" />
<link rel="stylesheet" href="../experiment-styles.css" />
<link rel="stylesheet" href="css/experiment.css" />
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body class="experiment">
<div class="wrapper">
<p class="learn">
This is a demo,
</p>
<canvas width="200" height="160" class="scale"></canvas>
<p class="transforming-content">This element ought to shrink or grow as you move towards or away from it.</p>
<!-- Include the CCV image processing and face detection libraries -->
<script src="js/ccv.js"></script>
<script src="js/face.js"></script>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="js/experiment.js"></script> </body>
</html>