Thursday 21 February 2013

Dataset and Program Flow

A Correction

In the Pre-Christmas Update, I said that there were 2 libraries for face recognition in OpenCV. This is incorrect, as I had glossed over the difference between face detection and face recognition.
  • Face detection finds faces in an image and this is mainly what I will be using.
  • Face recognition matches an input face against a known library of faces. I am not interested in this as much at this stage, but it could be useful in grouping photos by recognising who is in each photo, and also if I create a gallery whereby a user can click on a face and find other photos with that person in it. 

Dataset

The dataset I will be using predominately throughout the project are University of Bristol graduation photos I have taken from summer 2012. This consists of just under 2700 photographs from a weeks shooting, which has been sorted by hand into roughly 3 groups:
  • good photos to keep
  • poor photos that are not needed
  • photos which are ok, but not amazing.
An interesting area of this project is how the computed 'good photos to keep' will compare to those as determined by a human.
The photos themselves can be separated into approximately different compositions such as the following:

Full length portrait
Full length portrait
Full length landscape
Full length landscape
3/4 length portrait
3/4 length portrait
1/2 length landscape
1/2 length landscape
head and shoulders landscape
head and shoulders landscape
The size of the dataset will also help to observe how the program copes with large, real world data which is just under 10GB in size.

Program Logic Flow

To help segment the code and ensure that all the stages have been included, a basic logic flow for the program has been constructed:
  • load images
  • group images
  • for each image
    • initialise metrics
    • face detection
    • face features
    • pupil tracking
    • arms
    • feet
    • ...
    • finialse metrics
  • remove bad photos
  • select best photo
  • copy to new folder.

Dissertation

Apart from the structure of the dissertation being created, little progress has been made in the way of writing.

No comments:

Post a Comment