vision.labeler.loading.VideoSource Class
Namespace: 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 Ground
Truth Labeler app. In the Add/Remove 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 Signals.
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 Ground Truth Labeler app session that contains
video sources, the exported groundTruthMultisignal
object stores instances of this class in its
DataSource
property.
To create a VideoSource
object programmatically, such as when
programmatically creating a groundTruthMultisignal
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 R2020a