How could I use the Support Vector Machine in scikit for python on images I have on my disk.
I have a folder which contains images of cars in png format and I would like to run SVM to be able to classify them into 3 categories
- cars
- buses
- motorcycles
Check out the digits classification tutorial from the scikit-learn website.
http://scikit-learn.org/stable/auto_examples/classification/plot_digits_classification.html
Your case is a modification of this example with three classes instead of 10
To load your own images, refer this question