summaryrefslogtreecommitdiff
path: root/CamTest.py
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-05-07 16:14:03 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-05-07 16:14:03 +0530
commit0925a472e1e12c5fe0ade8897f2d6f565f52ac5d (patch)
tree2ab55632105284cb68cfd37ee1911016a4d85e76 /CamTest.py
parent080e44ccb561475e9b288d045f3de678ce89ea54 (diff)
CamTest: Reducing preview resolution
Diffstat (limited to 'CamTest.py')
-rw-r--r--CamTest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/CamTest.py b/CamTest.py
index e52b754..4f6f45f 100644
--- a/CamTest.py
+++ b/CamTest.py
@@ -5,7 +5,7 @@ from picamera2 import Picamera2
cam = Picamera2()
# Set the resolution of the camera preview
-cam.preview_configuration.main.size = (1280,720)
+cam.preview_configuration.main.size = (640, 360)
cam.preview_configuration.main.format = "RGB888"
cam.preview_configuration.align()
cam.configure("preview")