Created
September 28, 2019 21:20
-
-
Save victordibia/11d54557971ac8d38fc4569b37b61849 to your computer and use it in GitHub Desktop.
Handtrack.js (via NPM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\\ npm install --save handtrackjs | |
import * as handTrack from 'handtrackjs'; | |
const img = document.getElementById('img'); | |
// Load the model. | |
const img = document.getElementById('img'); | |
handTrack.load().then(model => { | |
model.detect(img).then(predictions => { | |
console.log('Predictions: ', predictions) // bbox predictions | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment