I am trying to use a RPI5 with a Camera Module 3 wide (RPI 5 Model B, OS Bookworm) to record videos of an aircraft flying (spraying). There are 2 cameras installed ( facing forward and back )recording in a circular buffer that when I press a button saves a 20 seconds video (10 before + 10 after the input).
My biggest problem seems to be that the camera does focus well on the ground but it records just a blur when flying.
Maybe some image stabilization would help too.
I don't know much about RPI and cameras so any advice to make this recording better is welcome.
you can check the code I am using below:
My biggest problem seems to be that the camera does focus well on the ground but it records just a blur when flying.
Maybe some image stabilization would help too.
I don't know much about RPI and cameras so any advice to make this recording better is welcome.
you can check the code I am using below:
Code:
lsize = (320, 240)picam1 = Picamera2(0)picam2 = Picamera2(1)video_config1 = picam1.create_video_configuration(main={"size": (1280, 720), "format": "RGB888"}, lores={ "size": lsize, "format": "YUV420"})video_config2= picam2.create_video_configuration(main={"size": (1280, 720), "format": "RGB888"}, lores={ "size": lsize, "format": "YUV420"}) picam1.configure(video_config1)picam2.configure(video_config1)picam1.start_preview()picam2.configure(video_config1)picam2.start_preview()encoder1 = H264Encoder(1000000, repeat=True)encoder1.output = CircularOutput(buffersize=600)encoder2 = H264Encoder(1000000, repeat=True)encoder2.output = CircularOutput(buffersize=600)
Statistics: Posted by adrianols — Sat Mar 01, 2025 6:07 am