Can't set gamma value
tristanle22 opened this issue · 2 comments
tristanle22 commented
Hello,
I'm using the function videocapture.set(cv2.CAP_PROP_GAMMA, value) to set a gamma value, however, I got the following results
_PySpin.SpinnakerException: Spinnaker: GenICam::AccessException= Node is not writable. : AccessException thrown in node 'Gamma' while calling 'Gamma.SetValue()' (file 'FloatT.h', line 83) [-2006]
Do you know if there's any workaround?
Thanks!
elerac commented
Hi @tristanle22 !
As the error message says, the gamma value is not writable.
I had the same error, and it was because I had set Gamma Enable
to False
. So, check that Gamma Enable
is set to True
using SpinView (AnalogControl->GammaEnable).
tristanle22 commented
Yup that seems to be the issue, thanks @elerac !