Use your webcam camera as a texture
summary (oneliner)
- you need https for webcam to work on many browsers
doc
issues
example patch id
youtube id
caniuse query
collections
Inputs
Render (Trigger)
update the output texture with the current webcam picture
Active (boolean /Number)
Generate Texture (boolean /Number)
activate / inactivate genration of the output texture
Camera
Webcam Input index (integer /Number)
index of webcam to use from available cameras
Requested Width (integer /Number)
request width from webcam
Requested Height (integer /Number)
request height from webcam
Texture
Flip X (boolean /Number)
Flip Y (boolean /Number)
Video Element
Show HTML Element (boolean /Number)
display the html video element
CSS (String)
css styles for the html video element
Element Flip X (boolean /Number)
Element Flip Y (boolean /Number)
Outputs
Next (Trigger)
Texture (Object)
texture output
Ratio (Number)
aspect ratio
Available (boolean Number)
webcam ready
Size Width (Number)
output size
Size Height (Number)
output height
Error (String)
HTML Element (Object)
the video element
Available devices (Array)
array of available devices
Active device (String)
Texture updated (Trigger)
output trigger on updated texture
Patches using WebcamTexture_v3
Changelog
cloned op from Ops.Gl.Textures.WebcamTexture
2020-11-09 - pandur
Ops.User.pandur.Webcam renamed to Ops.Gl.Textures.WebcamTexture_v2
2020-11-09 - pandur
cloned op from Ops.Gl.Textures.WebcamTexture_v2
2021-04-09 - stephan
Ops.User.stephan.WebcamTexture_v3 renamed to Ops.Gl.Textures.WebcamTexture_v3
2021-04-09 - stephan
Ops.Gl.Textures.WebcamTexture_v3 renamed to Ops.Dev.Gl.Textures.NewWebcamTexture
2021-08-03 - stephan
added core lib: cgl_copytexture
2022-04-28 - pandur
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Dev.NewWebcamTexture
2022-04-28 - pandur
Ops.Dev.NewWebcamTexture renamed to Ops.Dev.Gl.Textures.NewWebcamTexture
2022-04-28 - pandur
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Gl.Textures.WebcamTexture_v3
2022-05-09 - pandur
2020-11-09 - pandur
Ops.User.pandur.Webcam renamed to Ops.Gl.Textures.WebcamTexture_v2
2020-11-09 - pandur
cloned op from Ops.Gl.Textures.WebcamTexture_v2
2021-04-09 - stephan
Ops.User.stephan.WebcamTexture_v3 renamed to Ops.Gl.Textures.WebcamTexture_v3
2021-04-09 - stephan
Ops.Gl.Textures.WebcamTexture_v3 renamed to Ops.Dev.Gl.Textures.NewWebcamTexture
2021-08-03 - stephan
added core lib: cgl_copytexture
2022-04-28 - pandur
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Dev.NewWebcamTexture
2022-04-28 - pandur
Ops.Dev.NewWebcamTexture renamed to Ops.Dev.Gl.Textures.NewWebcamTexture
2022-04-28 - pandur
Ops.Dev.Gl.Textures.NewWebcamTexture renamed to Ops.Gl.Textures.WebcamTexture_v3
2022-05-09 - pandur