Camera Component

This section documents the configuration attributes for each built-in camera model. Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.

  • For how to add and configure a camera component on your machine, see Add a camera.
  • For the methods you call on a camera in code, see the Camera API reference.
  • For camera modules outside the built-in set (for example, realsense or viamrtsp), browse the Viam registry. Each registry module’s configuration is documented in its own README on its registry page.

Built-in models

The following camera models ship with viam-server:

ModelDescription
webcamThe general camera model for USB cameras and laptop webcams.
ffmpegUses a camera device, video file, or stream as a camera component.
transformApplies pipeline transformations (classifications, crop, detections, resize, rotate) to another camera’s output.
fakeReturns a static gradient image and point cloud, for testing.
image_fileServes color or depth image frames from a file path.

Micro-RDK models

The following camera models ship with the Micro-RDK:

ModelDescription
fakeA camera model for testing.
esp32-cameraAn OV2640 or OV3660 camera connected to an ESP32 board.