|
@@ -52,7 +52,11 @@ def lcdRotation(inputImg):
|
|
GETROTATION = imgRotationAim.draw_image(GETROTATION,0,0,alpha=1)
|
|
GETROTATION = imgRotationAim.draw_image(GETROTATION,0,0,alpha=1)
|
|
return GETROTATION
|
|
return GETROTATION
|
|
|
|
|
|
-camera.camera.config(size=(320,240))
|
|
|
|
|
|
+
|
|
|
|
+if cameraSize==True:
|
|
|
|
+ camera.camera.config(size=(320,240))
|
|
|
|
+else:
|
|
|
|
+ camera.camera.config(size=(240,320))
|
|
|
|
|
|
ScreenOrientation = False
|
|
ScreenOrientation = False
|
|
image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
|
|
image.load_freetype("/root/preset/fonts/SourceHanSansCN-Regular.otf")
|