Control Vue App Ising AI And Camera – vue-camera-gestures

Description:

A simple, secure, accessible Vue.js library that let users control your Vue app using AI, their camera, and gestures of their choice.

How to use it:

1. Install and import the component.

import CameraGestures from 'vue-camera-gestures'

2. Register the component.

Vue.component('camera-gestures', CameraGestures)

3. Add the component to the app template. That’s it.

<camera-gestures @fancyGesture="doSomething()"></camera-gestures>

4. Possible props.

doVerification: {
  type: Boolean,
  default: true
},
fireOnce: {
  type: Boolean,
  default: true
},
gestures: {
  type: Array
},
model: {
  type: String
},
neutralTrainingPrompt: {
  type: String,
  default: 'Maintain a neutral position'
},
neutralVerificationPrompt: {
  type: String,
  default: 'Verify neutral position'
},
requiredAccuracy: {
  type: Number,
  default: 90
},
showCameraFeedAfterTrainingCycle: {
  type: Boolean,
  default: true
},
showCameraFeedDuringTraining: {
  type: Boolean,
  default: true
},
showCameraFeedDuringVerification: {
  type: Boolean,
  default: true
},
throttleEvents: {
  type: Number,
  default: 0
},
trainingDelay: {
  type: Number,
  default: 1000
},
trainingPromptPrefix: {
  type: String,
  default: 'Perform a gesture: '
},
trainingTime: {
  type: Number,
  default: 3000
},
trainNeutralLast: {
  type: Boolean,
  default: false
},
verificationDelay: {
  type: Number,
  default: 1000
},
verificationPromptPrefix: {
  type: String,
  default: 'Verify gesture: '
},
verificationTime: {
  type: Number,
  default: 1000
}

Download Details:

Author: danielelkington

Live Demo: https://vue.cameragestures.com/guide/#demo

Download Link: https://github.com/danielelkington/vue-camera-gestures/archive/master.zip

Official Website: https://github.com/danielelkington/vue-camera-gestures

Install & Download:

# NPM
$ npm install vue-camera-gestures --save

You Might Be Interested In:

Add Comment