adityajain07 / Bag-of-Visual-Words_Classification

This project implements the method of 'Bag of Visual Words' to classify images into vehicles and non-vehicles from the available dataset.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This project implements the method of 'Bag of Visual Words' to classify images into vehicles and non-vehicles from the available dataset.

Methodology

Following are the steps implemented (in order):

  1. Split the dataset into Training and Test (already divided the dataset in the respective folders)
  2. Extract SIFT features from the training dataset
  3. Learn a codebook of size 1000 i.e. the size of Bag of Visual Words is 1000, using K-Means clustering
  4. Train a linear, soft-margin SVM using 5-fold cross-validation on the training dataset
  5. Test the accuracy of the SVM model learnt on the test dataset

Results

Below is the plot of accuracy (during cross-validation) against the value of regularisation parameter:

Regularisation

Classification Accuracy on Test Data: 83.65%

About

This project implements the method of 'Bag of Visual Words' to classify images into vehicles and non-vehicles from the available dataset.


Languages

Language:Jupyter Notebook 67.2%Language:Python 32.8%