This does work for the preview, but when trying to capture a photo only either configuration will be applied to the final photo depending on the order of resolution or flip configuration. Not both.There are a number of ways to apply multiple configuration options.
Here's one example to try :-Code:
from picamera2 import Picamera2,Previewfrom libcamera import Transformpicam2 = Picamera2()combined_config = picam2.create_preview_configuration({"size": (1920,1080)}, transform=Transform(hflip=True))picam2.configure(combined_config)picam2.start_preview(Preview.QTGL)picam2.start()
Statistics: Posted by SalRaz — Wed Apr 24, 2024 12:23 am