Skip to content
Emmanu12 edited this page Jul 10, 2016 · 9 revisions

Image Classification using SVM

Image classification tool made using python.It will Predict whether the given image belongs to Animal or Vehicle category.Image classification using svm classifies the given set of images into Animal or vehicle category and will output the accuracy of prediction.

  • preprocessing.py-resize all images to same size.
  • HOG.py-Extract hog features from all images.It will create .dat file and using that it will train svm
  • predict.py-Predict the given image is whether Animal or vehicle
  • Gui-new.py-Graphical user interface

This is built with

  • opencv 2.4
  • python 2.7
  • numpy
  • PIL

Screenshots

When you run Gui-new you will see like this.colour prediction is also included in this.When testing vehicles give the number as 1,when testing animals give the number as 2.

Clone this wiki locally