Example image classification using local binary patterns (LBP) for feature extraction and different classifiers, including SVM, Random Forest, and KNeighbors, using GridSearchCV to find the best hyperparameters for each classifier.
The following packages are required
numpy
opencv-python
scikit-image
scikit-learn
matplotlib
seaborn
The dataset must be a folder with a subfolder for each class containing images
To create a dataset from the source code of a project, you use the minimaps.py