Hi,
I'm trying to set up a picamera as seen below. Individually, I can successfully configure it's dimensions or transform it, but regardless of how I try to combine them both, I'll either get an error or only 1 of the 2 combined configurations will take. Any advice?
picam2 = Picamera2()
camera_config_size = picam2.create_preview_configuration({"size": (1920 × 1080)})
camera_config_transform = picam2.create_preview_configuration(transform=Transform(hflip=True))
picam2.configure(???)
I'm trying to set up a picamera as seen below. Individually, I can successfully configure it's dimensions or transform it, but regardless of how I try to combine them both, I'll either get an error or only 1 of the 2 combined configurations will take. Any advice?
picam2 = Picamera2()
camera_config_size = picam2.create_preview_configuration({"size": (1920 × 1080)})
camera_config_transform = picam2.create_preview_configuration(transform=Transform(hflip=True))
picam2.configure(???)
Statistics: Posted by SalRaz — Mon Apr 22, 2024 3:55 am