If you use the official V1 camera (ov5647), V2 camera (IMX219), and the HQ camera (IMX477), you can just plug in the camera and play.
If you use third-party cameras, the support camera size is as below and please use libcamera stack.
You need to modify the config.txt file and add the configure line according to the camera type. Raspberry Pi currently sell two types of camera board: an 8MP device and a 12MP High Quality (HQ) camera. The 8MP device is also available in NoIR form without an IR filter. The original 5MP device is no longer available from Raspberry Pi
Raspberry Pi is transitioning from a legacy camera software stack based on proprietary Broadcom GPU code to an open-source stack based on libcamera. Raspberry Pi OS images from Bullseye onwards will contain only the libcamera-based stack. If you use the newest Bullseye Raspberry Pi OS, the libcamera is pre-installed. If you want to use the legacy camera stack (Raspicam), please move to the Raspicam guide.
- A full range of Raspberry Pi boards
- Easy to use
- Color: black
- Compatible with raspberry Pi
- Sensor: IMX378
- CMOS size: 1/2.3 inch
- Camera type: color
- Pixel: 12.3MP (4056 × 3040)
- Shutter: Rolling Shutter
- Aperture: F2.4
- Distortion: < 58%
- Field of view: 190°
- Focal length: 6.5mm
- Focusing: fixed focus distance
1 x Waveshare IMX378-190 Fisheye Lens Camera for Raspberry Pi, 12.3MP, Wider Field Of View