robokudo.descriptors.camera_configs.config_cv_camera_without_depth

This is the camera config for a openCV camera without depth information.

Classes

CameraConfig

Configuration class for OpenCV-based cameras without depth information.

Module Contents

class robokudo.descriptors.camera_configs.config_cv_camera_without_depth.CameraConfig

Configuration class for OpenCV-based cameras without depth information.

This class defines the configuration parameters for cameras that can be accessed through OpenCV’s video capture interface. It supports various input sources including physical cameras, video files, image sequences, and network streams.

Variables:
  • interface_type – Type of camera interface, set to “OpenCV”

  • device – Input source identifier (camera index, file path, or URL)

  • api_preference – Preferred OpenCV capture API backend

  • device_driver_flag – Flag for frame retrieval configuration

  • normalize_rgb – Flag to enable RGB image normalization

  • loop_mode – Video playback loop configuration (-1: infinite, 0: no loop, >0: n loops)

  • depth – Static depth image to use (if any)

  • update_global_with_depth_parameter – Flag to update global depth parameters

  • cam_info – Camera configuration dictionary

  • cam_intrinsic – Camera intrinsic parameters

  • color2depth_ratio – Ratio between color and depth image resolution (x, y)

  • viewpoint_cam_to_world – Camera to world transformation

Note

When using image sequences as input, the first image must have a number between 0 and 4, and there cannot be any gaps in the sequence numbering.

interface_type: str = 'OpenCV'
device = 0
api_preference
device_driver_flag: int = 0
normalize_rgb: bool = True
loop_mode: int = -1
depth = None
update_global_with_depth_parameter: bool = True
cam_info = None
cam_intrinsic = None
color2depth_ratio = (1, 1)
viewpoint_cam_to_world = None