Properties

Each of the following are accessed through your instance, for example:

const handsfree = new Handsfree({hands: true})

// Checking the current version
console.log(handsfree.version)
  • config – Contains the sanitized object you passed into new Handsfree(config)
  • data – Contains data for all the active models
  • debug – Contains references to the video and canvas elements that contain the webcam stream and skeleton and keypoint overlays
  • id – The ID for the current Handsfree instance
  • isLooping – Whether the main loop is looping
  • model – A collection of all the models
  • plugin – A collection of all the plugins
  • taggedPlugins – A collection of all tagged plugins by tag
  • version – Your version of Handsfree.js
Menu