Hello. I have a Pi 4 with a camera module v2, via SSH, and need to capture a image, but when I go to do so, the image is more zoomed in than the terminal, which I have been using as the basis for my design.
The commands and code I have been using are:and I don't know how to zoom out in picamera2 / libcamera, just zoom in. Can anyone help?
The commands and code I have been using are:
Code:
libcamera-hello --qt
Code:
from picamera2 import Picamera2, Previewfrom libcamera import Transformimport time#Setuppicam2 = Picamera2()camera_config = picam2.create_preview_configuration()picam2.configure(camera_config)#Start stuffpicam2.start_preview(Preview.QT)picam2.start()#Actually do stufftime.sleep(2)picam2.capture_file("test.jpg")
Statistics: Posted by Calc4me — Sun Mar 10, 2024 6:52 pm