Zeigen Sie die Erfassung von CreateCapture p5 js

// camera capture setup 
function startCapture() { 
  let capture = createCapture(VIDEO) 
  capture.style('opacity', 0.5) 
  //capture.size(320, 240) 
  capture.position(0, 0) 
  capture.id('video-id') 
}
Ghaith Alzin