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.

Object Detectors

Detect faces and pedestrians, create customized detectors

Computer Vision System Toolbox™ provides pretrained object detections and the functionality to train a custom detector. The cascade object detector uses the Viola-Jones algorithm to detect people's faces, noses, eyes, mouth, or upper body. The people detector detects people in an input image using the histogram of oriented gradients (HOG) features and a trained support vector machine (SVM) classifier.

You can customize the cascade object detector using the trainCascadeObjectDetector function . You can also use the Training Image Labeler, feature extractors, and the Statistics and Machine Learning Toolbox™ classifiers to create a custom detector.


Training Image Labeler Label images for training a classifier


acfObjectDetector Detect objects using aggregate channel features
peopleDetectorACF Detect people using aggregate channel features
fasterRCNNObjectDetector Detect objects using Faster R-CNN deep learning detector
fastRCNNObjectDetector Detect objects using Fast R-CNN deep learning detector
rcnnObjectDetector Detect objects using R-CNN deep learning detector
vision.CascadeObjectDetector Detect objects using the Viola-Jones algorithm
vision.ForegroundDetector Foreground detection using Gaussian mixture models
vision.PeopleDetector Detect upright people using HOG features
vision.BlobAnalysis Properties of connected regions
trainACFObjectDetector Train ACF object detector
trainCascadeObjectDetector Train cascade object detector model
trainFastRCNNObjectDetector Train a Fast R-CNN deep learning object detector
trainFasterRCNNObjectDetector Train a Faster R-CNN deep learning object detector
trainImageCategoryClassifier Train an image category classifier
trainRCNNObjectDetector Train an R-CNN deep learning object detector
detectBRISKFeatures Detect BRISK features and return BRISKPoints object
detectFASTFeatures Detect corners using FAST algorithm and return cornerPoints object
detectHarrisFeatures Detect corners using Harris–Stephens algorithm and return cornerPoints object
detectMinEigenFeatures Detect corners using minimum eigenvalue algorithm and return cornerPoints object
detectMSERFeatures Detect MSER features and return MSERRegions object
detectSURFFeatures Detect SURF features and return SURFPoints object
extractFeatures Extract interest point descriptors
matchFeatures Find matching features
evaluateDetectionMissRate Evaluate miss rate metric for object detection
evaluateDetectionPrecision Evaluate precision metric for object detection
bbox2points Convert rectangle to corner points list
bboxOverlapRatio Compute bounding box overlap ratio
selectStrongestBbox Select strongest bounding boxes from overlapping clusters


Blob Analysis Compute statistics for labeled regions
2-D Correlation Compute 2-D cross-correlation of two input matrices
Find Local Maxima Find local maxima in matrices
Gaussian Pyramid Perform Gaussian pyramid decomposition



Train a Cascade Object Detector

Train a custom classifier

Label Images for Classification Model Training

Label objects in images.

Image Retrieval with Bag of Visual Words

Retrieve images from a collection of images similar to a query image using a content-based image retrieval (CBIR) system.

Image Classification with Bag of Visual Words

Use the Computer Vision System Toolbox™ functions for image category classification by creating a bag of visual words.

Digit Classification Using HOG Features

This example shows how to classify digits using HOG features and a multiclass SVM classifier.

Image Category Classification Using Bag of Features

This example shows how to use a bag of features approach for image category classification.

Image Retrieval Using Customized Bag of Features

This example shows how to create a Content Based Image Retrieval (CBIR) system using a customized bag-of-features workflow.


Local Feature Detection and Extraction

Learn the benefits and applications of local feature detection and extraction

Point Feature Types

Choose functions that return and accept points objects for several types of features

Coordinate Systems

Specify pixel Indices, spatial coordinates, and 3-D coordinate systems

Object Detection in a Cluttered Scene Using Point Feature Matching

This example shows how to detect a particular object in a cluttered scene, given a reference image of the object.

Pattern Matching

This example shows how to use the 2-D normalized cross-correlation for pattern matching and target tracking.

Was this topic helpful?