fake
A fake camera is a camera model for testing.
The camera always returns the same image, which is an image of a gradient.
This camera also returns a point cloud.
Configuration
{
"name": "<your-camera-name>",
"model": "fake",
"api": "rdk:component:camera",
"attributes": {
"width": <int>,
"height": <int>
}
}
Attributes
| Name | Type | Required? | Description |
|---|---|---|---|
width | int | Optional | The width of the image in pixels. The maximum width is 10000. Default: 1280 |
height | int | Optional | The height of the image in pixels. The maximum height is 10000. Default: 720 |
animated | bool | Optional | If you want the camera stream visible on the CONTROL tab to be animated. Default: False |
rtp_passthrough | bool | Optional | If true, GetImages will ignore width, height, and animated config params. Default: False. |
model | bool | Optional | If true, provides IntrinsicParams and DistortionParams for the camera. Default: False. |
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!