実例 ビデオキャプチャ

ビデオキャプチャ

createCapture() および image() 関数を使用すると、デバイスのビデオキャプチャを取得し、キャンバスに描画できます。 ビデオキャプチャは image() コンストラクタを通じて渡されるため、 filter() メソッドを使用してビデオキャプチャにフィルターを追加できます。 ビデオのアップロード、表示、スタイリングの異なる戦略については、 ビデオ および ビデオキャンバス の例を訪れてください。

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!


関連する実例