concepts.gui.opencv.point_picker.cv2_point_picker#

cv2_point_picker(color_image, depth_image=None, **kwargs)[source]#

A simple point picker using OpenCV. See CV2PointPicker for more details.

Parameters:
  • color_image (ndarray) – the color image.

  • depth_image (ndarray | None) – the depth image. Defaults to None. If specified, it will be shown side by side with the color image.

  • kwargs – additional keyword arguments.

Returns:

list of registered points.

Return type:

List[Tuple[int, int]]