Skip to content Skip to sidebar Skip to footer

Yolo Object Identification More Rapidly And Consistently

Using YOLO and p5.js I am trying to identify the objects using my webcam. Even though, I gave permission to access the webcam, following are the problems. Is there any way we can i

Solution 1:

  1. A possible solution is not to use p5.js and instead use getUserMedia() method for camera access. In this way you can mirror the video stream to an image element and detect the image element.

  2. For the saved video file you can use HTML Media Capture to accept a video file and put it into HTML: https://www.html5rocks.com/en/tutorials/getusermedia/intro/

Once you have done that, you can make a function that enables the detection when you press the play button. Something like this.

var video = document.getElementById('video');

video.addEventListener('play', function() { // block of code }, 16);

Post a Comment for "Yolo Object Identification More Rapidly And Consistently"