csaxs_bec.devices.ids_cameras.base_integration.camera.Camera#
- class Camera(camera_id: int, m_n_colormode: Literal[0, 1, 2, 3] = 1, bits_per_pixel: int = 24, connect: bool = True, force_monochrome: bool = False)[source]#
Bases:
objectHigh level camera base class for IDS cameras.
- Parameters:
camera_id (int) – The ID of the camera device.
m_n_colormode (Literal[0, 1, 2, 3]) – Color mode for the camera.
bits_per_pixel (Literal[8, 24]) – Number of bits per pixel for the camera.
Methods
Get the image data from the camera.
Connect to the camera and initialize it.
Disconnect from the camera and optionally wait a short time for driver cleanup.
Enable or disable auto gain.
Enable or disable auto exposure.
set_camera_rate_limitingSet the region of interest (ROI) for the camera.
Attributes
Get the exposure time of the camera.
- property exposure_time: float#
Get the exposure time of the camera.