RealSense_GrabColorImage
Captures a RGB image using RealSense.
Syntax
C++
Python
def RealSense_GrabColorImage( state: RealSense_State, outImage: Image, /, *, inConfigFile: str | None = None, inSerial: str | None = None, inConnectionTimeout: int | None = None, inInputQueueSize: int = 12, inRGBSettings: RealSenseRGBConfiguration | None = None, inDepthSettings: RealSenseDepthConfiguration | None = None, inPostProcessingSettings: RealSensePostProcessingFilters | None = None ) -> outResult: bool
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | RealSense_State | |||
![]() |
inConfigFile | str | None | None | Configuration file with the .json extension | |
![]() |
inSerial | str | None | None | Device serial number | |
![]() |
inConnectionTimeout | int | None | None | Maximum time to wait for frame in milliseconds | |
![]() |
inInputQueueSize | int | 1 - ![]() |
12 | Capacity of output frames queue |
![]() |
inRGBSettings | RealSenseRGBConfiguration | None | None | Settings for RGB stream | |
![]() |
inDepthSettings | RealSenseDepthConfiguration | None | None | Settings for Depth and Infrared streams | |
![]() |
inPostProcessingSettings | RealSensePostProcessingFilters | None | None | Post-processing filters to choose | |
![]() |
outImage | Image | Output image |




