You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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://uk.mathworks.com/matlabcentral/fileexchange/159371-image-category-classification-using-bag-of-features), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Image Classification with Bag of Visual Words
General Information
- Version 1.0.0 (2.11 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
