Main Content

Image Category Classification

Create bag of visual words for image classification and content-based image retrieval (CBIR) systems

Classify images into categories, by generating a histogram of visual word occurrences that represent the images. Use this histogram, called a bag of visual words, to train an image category classifier.

Apps

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

Functions

bagOfFeaturesBag of visual words object
trainImageCategoryClassifierTrain an image category classifier
imageCategoryClassifierPredict image category
imageDatastoreDatastore for image data

Topics

Get Started

Get Started with the Image Labeler

Interactively label rectangular ROIs for object detection, pixels for semantic segmentation, polygons for instance segmentation, and scenes for image classification.

Get Started with the Video Labeler

Interactively label rectangular ROIs for object detection, pixels for semantic segmentation, polygons for instance segmentation, and scenes for image classification in a video or image sequence.

Classify Images

Create a Custom Feature Extractor

You can use the bag-of-features (BoF) framework with many different types of image features.

Image Classification with Bag of Visual Words

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

Featured Examples