Показать захват 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