ROSTopic.shape#

property ROSTopic.shape: tuple[int, int] | None#

Shape of the most recently received frame.

Returns:

(height, width) in pixels, or None if no frame has been received yet

Return type:

tuple(int, int) or None

Seealso:

height width