Main Content

Image and Video Labeling

Image and video labeling using the single user options

Use the Image Labeler and Video Labeler apps to create individual labeling projects for yourself. You can load a set of images or a video, create label definitions and automate the labeling process. To get started labeling a collection of images, see Get Started with the Image Labeler. To get started labeling a video or sequence of images, see Get Started with the Video Labeler.

Apps

Image LabelerLabel images for computer vision applications
Video LabelerLabel video for computer vision applications

Functions

expand all

Load Data

cuboid2imgProject cuboids from 3-D world coordinates to 2-D image coordinates (Since R2022b)
groundTruthDataSourceObject for storing ground truth data sources
pixelLabelDatastoreDatastore for pixel label data
boxLabelDatastoreDatastore for bounding box label data (Since R2019b)
groundTruthGround truth label data

Create Label Definitions

labelDefinitionCreatorObject for storing, modifying and creating label definitions table
create Create label definitions table from the label definition creator object
infoDisplay information about a label, sublabel, or attribute stored in label definition creator object

Add

addLabelAdd label to label definition creator object
addSublabelAdd sublabel to label in label definition creator object
addAttributeAdd attributes to label or sublabel in label definition creator object

Edit

editLabelGroupModify a label group name (Since R2019a)
editGroupNameChange group name (Since R2019a)
editLabelDescriptionModify description of label or sublabel in label definition creator object
editAttributeDescriptionModify description of attribute in label definition creator object

Remove

removeLabelRemove label from label definition creator object
removeSublabelRemove sublabel from label in label definition creator object
removeAttributeRemove attribute from label or sublabel in label definition creator object

Action Flags

initializeInitialize state for algorithm execution (optional)
runRun label automation on every frame in interval
terminateTerminate automated algorithm (optional)

Validation

checkSetupSet up validation (optional)
checkLabelDefinitionValidate label definition

Algorithm

vision.labeler.AutomationAlgorithmInterface for algorithm automation in ground truth labeling
settingsDialogDisplay algorithm settings (optional)
vision.labeler.mixin.TemporalMixin interface for adding temporal context to automation algorithms
vision.labeler.mixin.BlockedImageAutomationMixin interface for performing blocked image automation (Since R2021a)
blockedImageAutomationAlgorithmImplements the blocked image automation algorithm (Since R2021a)
supportsReverseAutomationSet reverse algorithm automation flag

Store Data

groundTruthGround truth label data
mergeMerge two or more ground truth objects (Since R2023b)
pixelLabelDatastoreDatastore for pixel label data
boxLabelDatastoreDatastore for bounding box label data (Since R2019b)
changeFilePathsChange file paths in ground truth data
writeVideoScenesWrite video sequence to video file (Since R2021b)
sceneTimeRangesTime ranges of scene labels from ground truth data (Since R2021b)
gatherLabelDataGather label data from ground truth (Since R2021a)

Select Labels

selectLabelsByGroupSelect ground truth labels by label group (Since R2019a)
selectLabelsByTypeSelect ground truth labels by label type (Since R2019a)
selectLabelsByNameSelect ground truth labels by label name (Since R2019a)

Enumerate Attribute and Label Types

attributeTypeAttribute type enumerations for labeling
labelTypeLabel type enumerations for labeling

Create Training Data for Object Detectors

objectDetectorTrainingDataCreate training data for an object detector
pixelLabelTrainingDataCreate training data for semantic segmentation from ground truth
polyToBlockedImageCreate labeled blockedImage object from set of ROIs (Since R2021b)
mergeMerge two or more ground truth objects (Since R2023b)

Topics

Get Started

Load Ground Truth Data Sources

Label Ground Truth

Automate Labeling

Use Ground Truth Labels