raspberrypi / picamera2

New libcamera based python library
BSD 2-Clause "Simplified" License
891 stars 188 forks source link

[HOW-TO] higher fps sensor modes possible on HQ camera? #946

Open owenrandlett opened 9 months ago

owenrandlett commented 9 months ago

Hello -

I am using the HQ camera for animal tracking and I am wondering if there is any way to push the frame rate higher than the 120hz of sensor_mode[0]. I would be happy with for example a lower rez image and only one of the RGB channels if it were possible to run at a higher frame rate.

Is it feasible to use different sensor configurations to increase frame rate, or are we stuck with the 4 sensor modes?

Thanks for your help

davidplowman commented 9 months ago

Unfortunately there's no easy way to accomplish this. It would require the definition of a new camera mode in the kernel driver for the sensor, which in turn would require access to Sony's datasheets and engineers to get an approved register set for the new mode.

There are some folks on the Raspberry Pi camera forum who have messed around with sensors to get some faster framerates. There's been some success with some of the sensors, I believe, though mostly by drastically reducing the size of the image read from the sensor. You could try asking there, but stuff like that is completely unsupported.