face-recognition.js/Feature_detection/www/index.html

50 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<style>
body {
background:silver;
padding:0;
margin:0;
font-weight: bold;
overflow:hidden;
}
</style>
<title>Feature detection</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/3.4.1/chai.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chroma-js/1.1.1/chroma.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.js"></script>
<script src="js/inspirit-jsfeat-59cc928/build/jsfeat-min.js"></script>
<script src="js/inspirit-jsfeat-59cc928/cascades/bbf_face.js"></script>
<script src="js/inspirit-jsfeat-59cc928/cascades/eye.js"></script>
<script src="js/inspirit-jsfeat-59cc928/cascades/frontalface.js"></script>
<script src="js/inspirit-jsfeat-59cc928/cascades/mouth.js"></script>
<script src="js/tracking.js/tracking-min.js"></script>
<script src="js/tracking.js/data/eye-min.js"></script>
<script src="js/tracking.js/data/face-min.js"></script>
<script src="js/tracking.js/data/mouth-min.js"></script>
<script src="js/Main.js"></script>
<script src="js/Photography_with_detected_features.js"></script>
<script>
if (chai === undefined)
alert("STOP");
chai.assert.isDefined(jQuery, 'jQuery has not been loaded...');
chai.assert.isDefined(jsfeat, 'jsfeat-min.js has not been loaded...');
$(document).ready(documentIsReady); // 'documentIsReady' in 'no_language.js'
// Without jQuery: 'window.onload = windowIsLoaded;' ->
$(window).on('load', windowIsLoaded); // 'windowIsLoaded' in 'no_language.js'
$(window).on('unload', windowIsUnloaded);
</script>
</head>
<body>
</body>
</html>