November 2019
Intermediate to advanced
296 pages
7h 52m
English
PoseNet is a machine learning model for estimating the poses of people in an image or video. Although the core model is included in tfjs-examples, ML5.js provides a more intuitive way to use the model in combination with the p5.js library. p5.js makes it far easier to write an interactive application running in the browser. As p5.js can powerfully manipulate video, sound, and images, most ML5.js applications are integrated with p5.js. PoseNet is not an exception. It gets the input video from the p5.js API. This code loads the PoseNet model and estimates the pose of the input video:
// Setup the video video = createCapture(VIDEO);video.size(width, height);// Load the PoseNet model from ML5.js. // It gets the input from the ...
Read now
Unlock full access