Raspberry Pi AI Camera
By Raspberry Pi
·
The Raspberry Pi AI Camera runs neural networks on the camera itself. It is built around Sony's IMX500 Intelligent Vision Sensor, which pairs a 12.3-megapixel image sensor with an on-chip AI accelerator, so object det...
Get notified when back in stock
1300 240 817
Mon–Fri, 10am–4pm Sydney time
The Raspberry Pi AI Camera runs neural networks on the camera itself. It is built around Sony's IMX500 Intelligent Vision Sensor, which pairs a 12.3-megapixel image sensor with an on-chip AI accelerator, so object detection, pose estimation and similar vision models run without a separate accelerator and without using the Raspberry Pi's processor for inference.
Each frame arrives with the model's results attached as tensor metadata, which libcamera, Picamera2 and rpicam-apps all understand. The Raspberry Pi is left free for the rest of your application, which makes this a practical way into vision AI even on a smaller board. The board outline and mounting holes match Camera Module 3, so it fits the same mounts and cases where there is room for its slightly greater depth.
Why choose it
- AI processing on the sensor. The IMX500 runs the network as it captures, and an on-board RP2040 microcontroller manages the neural network firmware.
- Ready-made models to start with. Installing the
imx500-allpackage adds sample models, including MobileNet SSD object detection and PoseNet pose estimation, plus therpicam-appspost-processing stages to run them. - Bring your own model. Sony's Edge-MDT tools quantise and convert PyTorch or TensorFlow models, which you then package on a Raspberry Pi to run on the camera. Sony's AITRIOS platform supports larger deployments.
- A capable camera too. 12.3 megapixels at 4056 × 3040, with full-resolution capture at 10 frames a second or 2028 × 1520 at 30 frames a second, and an infrared cut filter for natural colour.
- Models are cached. 16MB of flash on the camera keeps recently used models, so in many cases the upload step is skipped.
Specifications
| Sensor | Sony IMX500 Intelligent Vision Sensor, 12.3 megapixels |
|---|---|
| Resolution | 4056 × 3040 pixels |
| Sensor size and pixel size | 7.857mm diagonal (type 1/2.3), 1.55μm × 1.55μm pixels |
| Frame rates | 2028 × 1520 (2×2 binned) at 30fps; 4056 × 3040 at 10fps; 10-bit |
| Lens | 4.74mm focal length, f/1.79 |
| Field of view | 78.3° ±3° diagonal; 66.3° ±3° horizontal, 52.3° ±3° vertical |
| Focus | Manually adjustable, 20cm to infinity (no autofocus) |
| Infrared cut filter | Integrated (no NoIR version) |
| Output | Bayer RAW10 image, ISP output (YUV/RGB), region of interest, inference metadata |
| Neural network input | Tensor up to 640 × 640, int8 or uint8 |
| Accelerator memory | 8,388,480 bytes for firmware, network weights and working memory |
| Firmware management | Raspberry Pi RP2040 with 16MB flash model cache |
| Size and weight | 25 × 24 × 11.9mm, 6g |
| Cable | 200mm ribbon; product brief lists 15-way 1mm-pitch or 22-way 0.5mm-pitch FPC |
| Operating temperature | 0°C to 50°C |
| Production lifetime | Until at least January 2028 |
Compatibility
- Works with every Raspberry Pi that has a camera connector. Raspberry Pi's documentation targets Raspberry Pi 4 Model B and Raspberry Pi 5; other models such as Raspberry Pi Zero 2 W and 3 Model B+ need minor changes to the examples.
- Raspberry Pi 5 is quickest to load models. Older boards upload model firmware over I2C; Raspberry Pi 5 uses a faster custom two-wire link.
- Cables: Raspberry Pi 4 and earlier Model B boards use the full-size 15-way camera connector; Raspberry Pi 5 and Zero models use the smaller 22-way connector and need a Standard to Mini camera cable or a Zero camera cable. Raspberry Pi 400 and 500 have no camera connector.
Getting started
- Update Raspberry Pi OS:
sudo apt update && sudo apt full-upgrade - Install the firmware, sample models and tools:
sudo apt install imx500-all, then reboot. - Run object detection:
rpicam-hello -t 0s --post-process-file /usr/share/rpi-camera-assets/imx500_mobilenet_ssd.json
Full instructions, Picamera2 examples and the model conversion workflow are in the AI Camera documentation.
Good to know
- The first time you load a model it can take several minutes to transfer to the camera. After that it is cached and loads much faster.
- Focus is set by hand, not automatically, and the closest focus is about 20cm. For autofocus without on-camera AI, see Camera Module 3.
- Converting your own model needs the same TensorFlow version you compressed it with; if you use both the PyTorch and TensorFlow tools, keep them in separate Python virtual environments. The final packaging step must run on a Raspberry Pi.
- Shut down and unplug your Raspberry Pi before connecting the camera. The ribbon's metal contacts face the circuit board at both ends.
- The AI Camera is in production until at least January 2028, two years less than Camera Module 3.
Documents and downloads
5 documents for the Raspberry Pi AI Camera. Open a PDF's pages here, or download it.
Product briefs
-
Raspberry Pi AI Camera Product Brief Product Brief · PDF · 950.0 KB Preview pages Hide pages
Select a page to read it full size.
Download
Guides
-
Picamera2 Manual User Guide · PDF · 2.8 MB Preview pages Hide pages
Select a page to read it full size.
Download
Drawings and 3D models
-
Standard Camera Cable (200 mm) Reference Drawing Mechanical Drawings · PDF · 52.4 KB Preview pages Hide pages
Select a page to read it full size.
Download
Compliance
-
Raspberry Pi AI Camera FCC Declaration of Conformity Compliance · PDF · 4.8 MB Preview pages Hide pages
Select a page to read it full size.
Download -
Raspberry Pi AI Camera Electrical Safety CB Certificate Approval · PDF · 186.8 KB Preview pages Hide pages
Select a page to read it full size.
Download