Video Acquisition and Viewing with an Executable

These demos show how to use import video from a video camera and file for executable deployment.

MATLAB Video Acquisition and Viewing

Use the imaq.VideoDevice to acquire video from a usb camera and the vision.VideoFileReader to acquire video from a file.

Use the vision.DeployableVideoViewer to view the video stream when generating an executable.

Open Example

Simulink Video Acquisition and Viewing

Use the From Video Device block to acquire video from a usb camera and the From Multimedia File block to acquire video from a file.

Use the To Video Display block to visualize the video with and without code generation.

Open Example