Skip to content

The project classifies the objects in every image into a pre-defined class. In this project, we have compared the results found using a simple baseline(subsampled pixel points passed to a SVM), Principal Component Analysis (PCA), Haar-like features (Viola-Jones), Bag Of Words model and a Convolutional Neural Network.

License

Notifications You must be signed in to change notification settings

manikandan5/Object-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object-Detection

This code was written for the course Computer Vision (CSCI-B 657) at Indiana University handled by Professor David Crandall. Skeleton code was provided by the Professor to get us started with the assignment.

What does the program do?

  • The program tries to find the type of food item from the given image.
  • The program does the same by using multiple feature extraction and the results can be used to compare how well these work for the application.
  • The program uses Support Vector Machine for all the feature extraction algorithms.
  • The same code can be tweaked to work for different scenarios as well.

How does it find it?

  • The program uses three feature extraction algorithms - Eigen, HAAR and Bag of Words.
  • Also it tries to classify using Convolutional Neural Networks.

Detailed explanation about how the code works and the reason why we chose this implementation could be found here.

How to run the program?

This command compiles the program:

      make 

To run the baseline algorithm:
``` ./a3 train baseline ./a3 test baseline ```
To run the Eigen faces algorithm:
``` ./a3 train eigen ./a3 test eigen ```
To run the HAAR algorithm:
``` ./a3 train haar ./a3 test haar ```
To run the Bag of Words algorithm:
``` ./a3 train bow ./a3 test bow ```
To run the Convolutional Neural Networks: ``` make init ./a3 train deep ./a3 test deep ```

About

The project classifies the objects in every image into a pre-defined class. In this project, we have compared the results found using a simple baseline(subsampled pixel points passed to a SVM), Principal Component Analysis (PCA), Haar-like features (Viola-Jones), Bag Of Words model and a Convolutional Neural Network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages