RealSense_GrabColorImage_WithTimeout
Captures with timeout a RGB image using RealSense.
Syntax
C++
Python
def RealSense_GrabColorImage_WithTimeout( state: RealSense_State, inTimeout: int, /, *, 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, outImage: Image | None )
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 frames in milliseconds | |
![]() |
inTimeout | int | 1 - ![]() |
Timeout [ms] | |
![]() |
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 | None | Output image |




