A webcam view and snapshot function. Will send a 3d array (width, height, colors+opacity) back to your computer of the frame when you click take photo. Paired with the server function shinyviewr.

shinyviewr_UI(id, height = "400px")

Arguments

id

the id you will use to keep track of this component in your app

height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

Value

A video overlay and a 'shutter' button.

See also

Examples

if (FALSE) { shinyviewrUI('myrecorder') }