Raspberry Pi Camera Video Capture
R2026bLibraries:
Raspberry Pi Blockset /
Audio and Video
Description
The Raspberry Pi Camera Video Capture block captures video frames from a camera serial interface (CSI) on Raspberry Pi® hardware and outputs the image data as separate color panes. Use this block to capture live camera data within your Simulink® model for vision and image processing workflows on Raspberry Pi hardware.
Tune the camera output for your application using the image and device controls such as brightness, contrast, saturation, sharpness, exposure mode and compensation, white balance mode, metering mode, rotation, and region of interest (ROI).
During simulation, the block outputs a moving test-pattern image to support model development without hardware. When you run the model on Raspberry Pi, the block captures live video frames from the connected CSI camera module.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
Examples
Extended Examples
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"raspberrypiAVlib/Raspberry Pi Camera Video Capture"
Example: add_block("raspberrypiAVlib/Raspberry Pi Camera Video Capture","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2026b



