WebcamTexture_v3 Op
Use your webcam camera as a texture
Summary (oneliner)
- you need https for webcam to work on many browsers
Full Name
- Ops.Gl.Textures.WebcamTexture_v3
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Render (Trigger)
update the output texture with the current webcam picture
Active (Number:boolean )
Generate Texture (Number:boolean )
activate / inactivate genration of the output texture
Camera
Webcam Input index (Number:integer )
index of webcam to use from available cameras
Requested Width (Number:integer )
request width from webcam
Requested Height (Number:integer )
request height from webcam
Texture
Flip X (Number:boolean )
Flip Y (Number:boolean )
Video Element
Show HTML Element (Number:boolean )
display the html video element
CSS (String)
css styles for the html video element
Element Flip X (Number:boolean )
Element Flip Y (Number:boolean )
OUTPUT PORTS
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
improvement | now only asks for permission if "active"-port is enables | pandur - 2022-12-14 17:19 |
improvement | Fixed problem with loading status not finishing the loading | pandur - 2024-05-16 07:53 |
improvement | Set parentelement to non canvas so popout/external canvas can continue to work | pandur - 2024-05-27 18:15 |