Skip to content

Instantly share code, notes, and snippets.

@CyberFerret
Created March 13, 2017 03:22
Show Gist options
  • Save CyberFerret/9c32d5e1e73ecb4c60abab7108b7fb24 to your computer and use it in GitHub Desktop.
Save CyberFerret/9c32d5e1e73ecb4c60abab7108b7fb24 to your computer and use it in GitHub Desktop.
Face recognition demo - ERB index
<html>
<head>
<title>Face Recognition Test</title>
<link href="css/camera.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Face Recognition Test</h1>
<div id='camera'>
<div id='placeholder'>
<p>Your browser does not support a camera!</p>
</div>
</div>
<br>
<p>
<button id='compare_image'>Compare Image</button>
</p>
<br>
<input id='photo_id' placeholder='Enter name for photo' type='text'>
<button id='add_to_collection'>Add To Collection</button>
<br>
<div id='upload_status'></div>
<div id='upload_result'></div>
<br>
<img height='100' id='loading_img' src='images/loading.gif' width='100'>
<audio id='audio_speech' src='#'></audio>
<br>
<br>
<p>
<a href="/collection/create">Create Collection</a> | <a href="/collection/delete">Delete Collection</a>
</p>
<script src='https://code.jquery.com/jquery-3.1.1.min.js'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js"></script>
<script src="js/jpeg_camera/jpeg_camera_with_dependencies.min.js" type="text/javascript"></script>
<script src="js/faceapp.js" type="text/javascript"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment