Created
November 2, 2018 13:28
-
-
Save RomainMaillot13/6d3b3678d009c7a9786816f95b5ec1df to your computer and use it in GitHub Desktop.
Algorithm one person
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
const imageScaleFactor = 0.50; | |
const flipHorizontal = false; | |
const outputStride = 16; | |
const imageElement = document.getElementById('cat'); | |
// load the posenet model | |
const net = await posenet.load(); | |
const pose = await net.estimateSinglePose(imageElement, scaleFactor, flipHorizontal, outputStride); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment