Skip to content

Commit cb72612

Browse files
JujuDelJulien Delclos
andauthored
r.5.0.6 (#257)
Co-authored-by: Julien Delclos <[email protected]>
1 parent 997e0d1 commit cb72612

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/pyzed/sl.pyx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14734,6 +14734,7 @@ IF UNAME_SYSNAME == u"Linux":
1473414734
# \param sensors_required : Activates \ref sensors_required
1473514735
# \param optional_opencv_calibration_file : Sets \ref optional_opencv_calibration_file
1473614736
# \param async_grab_camera_recovery : Sets \ref async_grab_camera_recovery
14737+
# \param enable_hdr : Sets \ref enable_hdr
1473714738
# \param grab_compute_capping_fps : Sets \ref grab_compute_capping_fps
1473814739
# \param enable_image_validity_check : Sets \ref enable_image_validity_check
1473914740

@@ -14969,7 +14970,15 @@ IF UNAME_SYSNAME == u"Linux":
1496914970
@async_grab_camera_recovery.setter
1497014971
def async_grab_camera_recovery(self, value: bool):
1497114972
self.init.async_grab_camera_recovery = value
14972-
14973+
14974+
@property
14975+
def enable_hdr(self) -> bool:
14976+
return self.init.enable_hdr
14977+
14978+
@enable_hdr.setter
14979+
def enable_hdr(self, value: bool):
14980+
self.init.enable_hdr = value
14981+
1497314982
##
1497414983
# Defines the input source with a camera id to initialize and open an sl.Camera object from.
1497514984
# \param id : Id of the desired camera to open.

src/pyzed/sl_c.pxd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,6 +2219,7 @@ cdef extern from "sl/CameraOne.hpp" namespace "sl":
22192219
InputType input
22202220
String optional_settings_path
22212221
bool async_grab_camera_recovery
2222+
bool enable_hdr
22222223

22232224
cdef cppclass CameraOne 'sl::CameraOne':
22242225
CameraOne()

0 commit comments

Comments
 (0)