Tuesday, November 2, 2010

The Guess Who Application

An iPhone application that I worked on to guess the person who you capture with your iPhone camera!

The approach in this project is to extract features using distinct differences that are observed in the side face profiles and train classifiers to recognize faces.

The primary objective of this project was to process the side‐face profile images, extract the features and classify them in order to identify the closest match. The target was to obtain an accuracy that is comparable to previous published results on the same dataset that we are using.
On the successful completion of the primary objective, as the secondary objective of this project, we also demonstrated the real‐time recognition capability of our algorithm by building an interactive webbased face‐recognition application on an Apple iPhone.

Sunday, February 14, 2010

Errors and Fixes for Programming in MS Visual Studio 2008

It is the first time I am programming in C using Microsoft Visual Studio 2008.
Here are some of the silly mistakes I made and figured out the solutions for the errors.

Error 1: bError 1 error LNK2005: _main already defined in

Fix: check if you have two main functions anywhere in the project. It could be two files with main functions.

Error 2: error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0

Fix: int my2dArray[num][num]; /* WRONG! can't allocate using non-const variable */

so initialize array this way:
int **my2dArray = (int**) malloc(num * sizeof(int*));

Reference : http://pleasemakeanote.blogspot.com/2008/06/2d-arrays-in-c-using-malloc.html