Python/PyQt5/Picamera2 to control Raspberry Pi Cameras with GUI, added White Balance setting.
Further works on my previous post Python/PyQt5/Picamera2 to control Raspberry Pi Cameras with GUI, with camera_controls , added White Balance setting. Actually, I'm not sure the setting and operation of Awb and ColourGains. refer: ~ The Picamera2 Library document, Appendix C: Camera controls. Code: picam2_qt5_2024-01-20.py """ Python 3/PyQt5 + picamera2 to control Raspberry Pi Camera Modules Tested on Raspberry Pi 5/64-bit Raspberry Pi OS (bookworm) # in my setup: # Picamera2(0) - HQ Camera # Picamera2(1) - Camera Module 3 picam2_qt5_2023-12-28.py first exercise picam2_qt5_2024-01-03.py Added Auto-Focus feature detection, and switch AF Mode between Continuous & Manual picam2_qt5_2024-01-07.py Display Preview in seperated window, both Main/Preview windows have Capture button. picam2_qt5_2024-01-13.py Add camera_controls to adjust brightness at runtime. Handle sys.argv, such that user can select cam at c...