Note that the method name USBCamera.set_bit_depth has changed to USBCamera.set_bitdepth.
Originally, the method USBCamera.take_photo returned a numpy array with dtype=numpy.uint16 regardless of previous bitdepth setting in the USBCamera.set_bitdepth method; now this has been fixed to return an
array of dtype=numpy.uint8 when using the "8bit" setting. Furthermore, a bitdepth attribute has now been added to USBCamera objects to track this setting, the default value gets set to "8bit" during object initialization.
Note that the method name
USBCamera.set_bit_depth
has changed toUSBCamera.set_bitdepth
.Originally, the method
USBCamera.take_photo
returned a numpy array withdtype=numpy.uint16
regardless of previousbitdepth
setting in theUSBCamera.set_bitdepth
method; now this has been fixed to return an array ofdtype=numpy.uint8
when using the"8bit"
setting. Furthermore, abitdepth
attribute has now been added toUSBCamera
objects to track this setting, the default value gets set to"8bit"
during object initialization.