I'm making a posture analyser using TensorFlow Js and PoseNet. I've made up the code to analyse postures in real time from Webcam. How do I input a local video file to be analysed?
This is the code that loads in Webcam stream. I'm looking for a way to replace this webcam video input with local video file.
canvas.parent('videoContainer');
video = createCapture(VIDEO);
video.size(width, height);