# 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](https://docs.viam.com/hardware/common-components/add-a-camera/).
- For the methods you call on a camera in code, see the [Camera API reference](https://docs.viam.com/reference/apis/components/camera/).
- For camera modules outside the built-in set (for example, `realsense` or `viamrtsp`), search for `camera` in the [Viam registry](https://app.viam.com/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`](https://docs.viam.com/reference/components/camera/webcam/) | The general camera model for USB cameras and laptop webcams. |
| [`ffmpeg`](https://docs.viam.com/reference/components/camera/ffmpeg/) | Uses a camera device, video file, or stream as a camera component. |
| [`transform`](https://docs.viam.com/reference/components/camera/transform/) | Applies pipeline transformations (classifications, crop, detections, resize, rotate) to another camera’s output. |
| [`fake`](https://docs.viam.com/reference/components/camera/fake/) | Returns a static gradient image and point cloud, for testing. |
| [`image_file`](https://docs.viam.com/reference/components/camera/image-file/) | Serves color or depth image frames from a file path. |

## Micro-RDK models

The following camera models ship with the [Micro-RDK](https://docs.viam.com/reference/device-setup/setup-micro/):

| Model | Description |
| --- | --- |
| [`fake`](https://docs.viam.com/reference/components/camera/micro-rdk/fake/) | A camera model for testing. |
| [`esp32-camera`](https://docs.viam.com/reference/components/camera/micro-rdk/esp32-camera/) | An OV2640 or OV3660 camera connected to an ESP32 board.
