concepts.hw_interface.realsense.device_f.CaptureRS#

class CaptureRS[source]#

Bases: RealSenseInterface

Methods

capture([dep_only, to_bgr])

close()

get_color_intrinsics()

get_depth_intrinsics()

get_rgbd_image([format])

get_serial_number()

publish([port, max_fps, name, ...])

publish_once(socket, current_time)

skip_frames(n)

__init__(callback=None, vis=False, serial_number=None, intrinsics=None, min_tags=1, auto_close=False, pub_port=None)[source]#
Parameters:

pub_port (int | None)

__new__(**kwargs)#
capture(dep_only=False, to_bgr=False)[source]#
close()[source]#
get_color_intrinsics()[source]#
Return type:

ndarray

get_depth_intrinsics()[source]#
Return type:

ndarray

get_rgbd_image(format='rgb')[source]#
Parameters:

format (str)

Return type:

Tuple[ndarray, ndarray]

get_serial_number()[source]#
Return type:

str

publish(port=None, max_fps=None, name=None, register_name_server=False)[source]#
Parameters:
  • port (int | None)

  • max_fps (int | None)

  • name (str | None)

  • register_name_server (bool)

publish_once(socket, current_time)[source]#
skip_frames(n)[source]#