beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
NewWebcamTexture
Ops.Dev.Gl.Textures.NewWebcamTexture
use your webcam camera as a texture

summary (oneliner)

  • you need https for webcam to work on many browsers

doc

issues

youtube id

collections

related ops

Inputs

Render (Trigger)

update the output texture with the current webcam picture


Start webcam (Trigger)

initially start the webcam


Generate Texture (boolean /Number)

activate / inactivate genration of the output texture


Webcam Input index (integer /Number)

index of webcam to use from available cameras


Camera

Webcam Input (string /Number)

Facing index (integer /Number)

face user or environment


Camera

Facing (String)

face user or environment


Requested Width (integer /Number)

request width from webcam


Requested Height (integer /Number)

request height from webcam


Texture

Flip (boolean /Number)

flip output vertically


Video Element

Show HTML Element (boolean /Number)

display the html video element


CSS (String)

css styles for the html video element


Flip X (boolean /Number)

Flip Y (boolean /Number)

Outputs

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


Select device (String)

name of selected device


Texture updated (Trigger)

output trigger on updated texture


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Credits


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

Examples using NewWebcamTexture

Public Patches using NewWebcamTexture