get_frame#
method
- UC480Client.get_frame() ndarray#
Returns the last image received from the stream.
You should make sure to call
await_stream()before calling this method.- Returns:
- np.ndarray
The last image received from the stream.
Examples
>>> cam = ThorCamClient() >>> cam.connect("camera_name") >>> cam.start_stream() >>> cam.await_stream() >>> frame = cam.get_frame()