Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Face Verify Demo
<script>
var fv = new machinebox.FaceVerify({
facebox: "http://localhost:8080",
videoSelector: '#facePreview',
snapshotInterval: 1000,
error: function(error) {
if (!error) {
$('.ui.error.message').hide()
return
}
$('.ui.error.message').text(error).show()
},
onSecure: function(name){
$('.status').text("Hello "+name)
$('.secure').css({backgroundColor:'white'})
},
onInsecure: function(message){
$('.status').text(message)
$('.secure').css({backgroundColor:'black'})
},
})
fv.start()
</script>
@ebetap

This comment has been minimized.

Copy link

commented Mar 12, 2018

console.log('wow, its amazing');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.