get_frame

get_frame#

method

ThorCamBase.get_frame() array[source]#

Retrieves the last frame from the camera’s memory buffer.

Warning

Not a Pyro exposed function, cannot be called from a Proxy. We recommend using the ThorCamClient for streaming video/getting remote images.

Retrieves the last frame from the camera memory buffer and processes it into a computer-readable image format.

Can only be called after start_capture().

Returns:
imgnp.array

The last frame from the camera’s memory buffer.