Image Category Classification Using Bag of Features

Version 1.0.0 (2.11 MB) by Kunal
This example shows how to use a bag of features approach for image category classification. About Dataset 5-Flowers Dataset is used
7 Downloads
Updated 9 Feb 2024

View License

This example shows how to use a bag of features approach for image category classification. This technique is also often referred to as bag of words. Visual image categorization is a process of assigning a category label to an image under test.
About Dataset
5-Flowers Dataset
The 5-flowers dataset was created by Google and placed in the public domain with a Creative Commons license. It is published as a TensorFlow dataset and available in a public.
There are five types of flowers in the 5-flowers dataset, and each image in the dataset has already been labeled with the type of flower it depicts.
Download and extract the Flowers data set
url = "http://download.tensorflow.org/example_images/flower_photos.tgz";

Cite As

Kunal (2024). Image Category Classification Using Bag of Features (https://www.mathworks.com/matlabcentral/fileexchange/159371-image-category-classification-using-bag-of-features), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Image Classification with Bag of Visual Words

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0