Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Training Image Labeler

Label images for training a classifier

Description

The Training Image Labeler app allows you to interactively specify rectangular Regions of Interest (ROIs).

Open the Training Image Labeler App

  • MATLAB® Toolstrip: On the Apps tab, under Image Processing and Computer Vision, click the app icon.

  • MATLAB command prompt: Enter trainingImageLabeler.

Examples

expand all

Type trainingImageLabeler on the MATLAB command line or select it from the MATLAB desktop Apps tab.

Programmatic Use

expand all

trainingImageLabeler invokes an app for labeling ground truth data in images. This app allows you to interactively specify rectangular Regions of Interest (ROIs). The ROIs define locations of objects, which are used to train a classifier. It outputs training data in a format supported by the trainCascadeObjectDetector function. The function trains a model to use with the vision.CascadeObjectDetector detector.

trainingImageLabeler(imageFolder) invokes the app and immediately loads the images from imageFolder.

trainingImageLabeler(sessionFile) invokes the app and immediately loads a saved image labeler session. sessionFile contains the path to the MAT file of the saved session.

trainingImageLabeler(imgDataStore) invokes the app and immediately loads the image from an imageDatastore object.

trainingImageLabeler CLOSE closes all open apps.

Introduced in R2014a


Was this topic helpful?