예제 비디오 캡처

비디오 캡처

createCapture()image() 함수를 사용하면 장치의 비디오 캡처를 가져와 캔버스에 그릴 수 있습니다. 비디오 캡처는 image() 생성자를 통해 전달될 수 있으므로 filter() 메서드를 사용하여 비디오 캡처에 필터를 추가할 수 있습니다. 비디오를 업로드하거나, 발표하거나, 스타일을 지정하기 위한 다양한 전략을 보려면 VideoVideo Canvas를 확인해 보세요.

Creative Commons BY-NC-SA license badge

비디오 캡처: Revised by Kasey Lichtlyter. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!