From 0925a472e1e12c5fe0ade8897f2d6f565f52ac5d Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 7 May 2023 16:14:03 +0530 Subject: CamTest: Reducing preview resolution --- CamTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CamTest.py') 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") -- cgit v1.2.3