Main Content

Image Category Classification

Create vision transformer or bag of visual words image classifier

Classify images into categories, using vision transformer neural networks or by generating a histogram of visual word occurrences that represent images.

Apps

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

Functions

expand all

visionTransformerPretrained vision transformer (ViT) neural network (Since R2023b)
patchEmbeddingLayerPatch embedding layer (Since R2023b)
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