Handsfree.js

A wrapper library around computer vision models for the purpose of interacting with the web handsfree. Works with Chrome and Firefox!

Powered by:

With support from the STUDIO for Creative Inquiry, Glitch.com, the School of AI, and you!


# Quickstart

<!DOCTYPE html>
<head>
  <!-- Require dependencies -->
  <script src="https://unpkg.com/handsfree@6.1.4/dist/handsfree.js"></script>
  <link rel="stylesheet" href="https://unpkg.com/handsfree@6.1.4/dist/handsfree.css">
</head>
<body>
  <script>
    // Create a new instance. Use one instance for each camera
    const handsfree = new Handsfree({})

    // Create a plugin that console logs whenever you wink with your right eye
    Handsfree.use('consoleLogger', ({ head }) => {
      if (head.state.eyeRightClosed) {
        console.log('πŸ˜‰')
      }
    })

    // Start tracking
    handsfree.start()
  </script>
</body>

# Tutorials


# Experiments


πŸ“… More coming soon

We're still just getting this site started, so check back soon! In the meantime, here are some links you might like:

Last Updated: 1/25/2020, 2:36:14 AM