A simple, secure, accessible Vue.js library that let users control your Vue app using AI, their camera, and gestures of their choice.
# NPM
$ npm install vue-camera-gestures --save
import CameraGestures from 'vue-camera-gestures'
Vue.component('camera-gestures', CameraGestures)
<camera-gestures @fancyGesture="doSomething()"></camera-gestures>
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
}
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
#vuejs #javascript #vue-js #AI