concepts.hw_interface.realsense.visualizer.CV2Visualizer#

class CV2Visualizer[source]#

Bases: object

Methods

imshow(color_image, depth_image)

register_point(event, x, y, flag, param)

run(color_image[, depth_image, ...])

__init__(registered_points=None)[source]#
Parameters:

registered_points (List[Tuple[int, int]] | None) –

__new__(**kwargs)#
imshow(color_image, depth_image)[source]#
Parameters:
Return type:

None

register_point(event, x, y, flag, param)[source]#
run(color_image, depth_image=None, file_dirname='visualization', file_suffix='', save=True)[source]#
Parameters:
  • color_image (ndarray) –

  • depth_image (ndarray | None) –

  • file_dirname (str) –

  • file_suffix (str) –

  • save (bool) –

Return type:

None