Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/pyzed/sl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -14734,6 +14734,7 @@ IF UNAME_SYSNAME == u"Linux":
# \param sensors_required : Activates \ref sensors_required
# \param optional_opencv_calibration_file : Sets \ref optional_opencv_calibration_file
# \param async_grab_camera_recovery : Sets \ref async_grab_camera_recovery
# \param enable_hdr : Sets \ref enable_hdr
# \param grab_compute_capping_fps : Sets \ref grab_compute_capping_fps
# \param enable_image_validity_check : Sets \ref enable_image_validity_check

Expand Down Expand Up @@ -14969,7 +14970,15 @@ IF UNAME_SYSNAME == u"Linux":
@async_grab_camera_recovery.setter
def async_grab_camera_recovery(self, value: bool):
self.init.async_grab_camera_recovery = value


@property
def enable_hdr(self) -> bool:
return self.init.enable_hdr

@enable_hdr.setter
def enable_hdr(self, value: bool):
self.init.enable_hdr = value

##
# Defines the input source with a camera id to initialize and open an sl.Camera object from.
# \param id : Id of the desired camera to open.
Expand Down
1 change: 1 addition & 0 deletions src/pyzed/sl_c.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,7 @@ cdef extern from "sl/CameraOne.hpp" namespace "sl":
InputType input
String optional_settings_path
bool async_grab_camera_recovery
bool enable_hdr

cdef cppclass CameraOne 'sl::CameraOne':
CameraOne()
Expand Down