Camera
The camera of the computer you are using: watch it, take pictures, record videos, and send frames to running blocks.
How it works
Press Start camera (the browser asks to allow it). Picture saves a frame and Record a video (offered to download or keep in a dataset). While a run goes on, Send picture and Send live hand frames to the run's blocks on the channel named below: in Python, for m in ctx.messages("camera") gives m["data"]["image"] as a JPEG data: URL with its width and height.
For a camera plugged into a worker, use the Camera capture block instead.
Settings
| Setting | Default | What it does |
|---|---|---|
Resolutionresolution |
1280x720 | One of: 640x480, 1280x720, 1920x1080 |
Channel for the frames sent to blockschannel |
camera | |
Frames per second when sending livefps |
2 | From 0.2 to 10 |
Width of the frames sent (pixels)width |
640 | From 64 to 1920 |
Record sound with videosaudio |
off |
Where it runs
In the browser, on the flow's View page and in the run's results, in a sandbox without network access. It needs no worker.
More in Visualizers
3D sceneA general 3D engine: draws the scene file it is given (models, lights, environment, cameras, effects, sounds, the 2D layer of text, gauges and controls), and moves it with the run's data, live or replayed.3D viewThe project's 3D view: draws whatever the project gives it (scenes, 3D files, live positions, robots with any number of joints, several at once, fleets, rockets, vehicles), with the models, textures and sounds of the project's assets; live while a run goes on, then replays; numbers, events and controls on top.3D view (WebGPU)A high-quality real-time 3D view drawn on the viewer's own graphics card with WebGPU: physically based materials, image-based lighting, soft shadows, ambient occlusion, bloom and temporal anti-aliasing, chosen by what the graphics card can do; plays animated 3D files on a timeline.ChartLines, areas, steps, points, bars or a histogram, from a table or a live stream.ControlsButtons, sliders, switches, text boxes and boards of cells that send commands to the blocks of a running run.GaugesDials or large numbers with the latest values of a live stream, a table or metrics.