depthai-python
depthai-python copied to clipboard
Miscellaneous camera controls, IMX582/IMX586 on-sensor HDR
Related: https://github.com/luxonis/depthai-core/pull/972 (see for a detailed description)
utilities/cam_test.py
: new option
-misc MISC_CONTROLS [MISC_CONTROLS ...], --misc-controls MISC_CONTROLS [MISC_CONTROLS ...]
List of miscellaneous camera controls to set initially, as pairs:
key1=value1 key2=value2 ...
For example to enable HDR on IMX582 (OAK-1-MAX):
python3 utilities/cam_test.py -cams rgb,c -rs -cres 12mp -fps 10 -misc hdr-exposure-ratio=4
-
R
key to select HDR exposure ratio, then adjust with-_
and+=
-
G
key to select HDR local tone weight, then adjust with-_
and+=
-
H
key to toggle HCG (high conversion gain) mode on/off on IMX462 or IMX678
(when testing HDR, it's also suggested for now to set manual exposure, I
O
K
L
)