diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-05-07 16:14:03 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-05-07 16:14:03 +0530 |
commit | 0925a472e1e12c5fe0ade8897f2d6f565f52ac5d (patch) | |
tree | 2ab55632105284cb68cfd37ee1911016a4d85e76 | |
parent | 080e44ccb561475e9b288d045f3de678ce89ea54 (diff) |
CamTest: Reducing preview resolution
-rw-r--r-- | CamTest.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |