Camera Component | Built-in components
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,
realsenseorviamrtsp), search forcamerain 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:
| Model | Description |
|---|---|
webcam |
The general camera model for USB cameras and laptop webcams. |
ffmpeg |
Uses a camera device, video file, or stream as a camera component. |
transform |
Applies pipeline transformations (classifications, crop, detections, resize, rotate) to another camera’s output. |
fake |
Returns a static gradient image and point cloud, for testing. |
image_file |
Serves color or depth image frames from a file path. |
Micro-RDK models
The following camera models ship with the Micro-RDK:
| Model | Description |
|---|---|
fake |
A camera model for testing. |
esp32-camera |
An OV2640 or OV3660 camera connected to an ESP32 board. |