You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the logical and test if color_mode < 0 and color_mode > 3: cannot be fulfilled.
It possibly should read if color_mode < 0 or color_mode > 3:. The logical or test will cover all cases that have not been dealt with before in function convert_color.
The text was updated successfully, but these errors were encountered:
gernot-hochmuth
added a commit
to gernot-hochmuth/ArduCAM_USB_Camera_Shield_Python_Demo
that referenced
this issue
Nov 3, 2023
In file ImageConvert.py there are typos in lines 32 and 33:
ArduCAM_USB_Camera_Shield_Python_Demo/ImageConvert.py
Lines 32 to 33 in 5e84900
instead of
iamge
it should readimage
.In line
ArduCAM_USB_Camera_Shield_Python_Demo/ImageConvert.py
Line 62 in 5e84900
and
testif color_mode < 0 and color_mode > 3:
cannot be fulfilled.It possibly should read
if color_mode < 0 or color_mode > 3:
. The logicalor
test will cover all cases that have not been dealt with before in functionconvert_color
.The text was updated successfully, but these errors were encountered: