Main Content

Image and Video Processing

Capture, display, and stream images and video on Raspberry Pi® hardware

Acquire images and video from camera modules or webcams, display video output, and stream video using blocks and MATLAB® functions to support development of a wide range of multimedia applications, including, computer vision, and surveillance on Raspberry Pi hardware.

Blocks

V4L2 Video CaptureCapture video from USB camera using V4L2 framework
SDL Video DisplayDisplay video using SDL
RTSP Video Stream TransmitStream video to network over real-time streaming protocol (Since R2024a)
RTSP Video Stream ReceiveReceive video from network over real-time streaming protocol (Since R2024b)

Objects

arducamConnect to ArduCam Multi Camera Adapter Module (Since R2023b)
webcamCreate connection to Raspberry Pi web camera
cameraboardConnection to camera board on Raspberry Pi hardware

Functions

selectCamera Select camera on ArduCam Multi Camera Module (Since R2023b)
readFrameReturn oldest image frame from board, web, or ArduCam module camera
recordRecord video from camera board or ArduCam Multi Camera Adapter Module camera
snapshotCapture latest RGB image frame from Camera Board or selected camera on ArduCam Multi Camera Adapter Module
stopStop recording from camera board or selected camera on ArduCam Multi Camera Adapter Module
displayImageDisplay an image on the Raspberry Pi hardware or on the LED Matrix of SenseHAT

Apps

Raspberry Pi Resource Monitor AppMonitor and manage Raspberry Pi resources

Topics

Troubleshooting

Troubleshoot Raspberry Pi Camera Board

Troubleshoot the Raspberry Pi camera board.

Featured Examples