vision.labeler.loading.VideoSource Class
R2026bNamespace: vision.labeler.loading
Superclasses: vision.labeler.loading.MultiSignalSource
Description
The vision.labeler.loading.VideoSource class creates an interface for
loading signals from video data sources into the Multi-Sensor Labeler app. In the Add Signal dialog box of the app, when
Source Type is set to Video, this class
controls the parameters in that dialog box.

To access this dialog box, in the app, select Import > Add Signal.
The default implementation of this class loads the video formats accepted by the VideoReader object.
The vision.labeler.loading.VideoSource class is a handle class.
Creation
When you export labels from a Multi-Sensor Labeler app session that contains
video sources, the exported groundTruthMultiSensor object stores instances of this class in its
DataSource property.
To create a VideoSource object programmatically, such as when
programmatically creating a groundTruthMultiSensor object, use the
vision.labeler.loading.VideoSource function (described here).
Description
creates a vidSource = vision.labeler.loading.VideoSourceVideoSource object for loading signals from video data sources.
To specify the data source and the parameters required to load the source, use the
loadSource method.
Properties
Methods
Examples
Tips
You can this class as a starting point for creating a custom data source loading class. To view the source code for this class, use this command:
edit vision.labeler.loading.VideoSource
Version History
Introduced in R2026b
