Image Category Classification Using Bag of Features
Version 1.0.0 (2.11 MB) by
Kunal Khandelwal
This example shows how to use a bag of features approach for image category classification. About Dataset 5-Flowers Dataset is used
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.
url = "http://download.tensorflow.org/example_images/flower_photos.tgz";
Cite As
Kunal Khandelwal (2026). 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 LinuxTags
Acknowledgements
Inspired by: Image Classification with Bag of Visual Words
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
