|
1 | 1 | # COMP4932-Assignment3 |
2 | 2 | COMP4932 Assignment 3 : Facial Recognition |
3 | 3 |
|
| 4 | +# About |
| 5 | +Face recognizer program. This is a program that uses your computers webcam to find a face, currently the best face inside the face space, to then find in the library of faces (prerequisite). |
| 6 | + |
| 7 | +# Table of Contents |
| 8 | +* [Controls](#controls) |
| 9 | +* [Usage](#usage) |
| 10 | + * [Adding Faces](#adding-faces) |
| 11 | + * [Finding Faces](#finding-faces) |
| 12 | +* [FAQ](#faq) |
| 13 | +* [References](#references) |
| 14 | + * [Library](#library) |
| 15 | + * [Viola-Jones](#viola-jones) |
| 16 | + * [EigenFaces](#eigen-faces) |
| 17 | +* [License](#license) |
| 18 | + |
| 19 | +# Controls |
| 20 | +1. Ctrl-Shift-C : Finds the best face in the image (the one that looks like the best face) |
| 21 | +2. Ctrl-Shift-F : Finds the face that we captured in the face [library*](#library) and displays the recration of it. |
| 22 | + |
| 23 | +# Usage |
| 24 | + |
| 25 | +## Adding faces |
| 26 | +> You will need to complete this 3 times, having your face within the box. |
| 27 | +> - Top of the head at the top of the box |
| 28 | +> - Bottom of the chin at the bottom |
| 29 | +> - Equal gaps on both sides of the head |
| 30 | +
|
| 31 | +1. First capture the face with [Ctrl-Shift-C](#short-keys) |
| 32 | +2. Add the face to the library with [Ctrl-Shift-C](#short-keys) |
| 33 | +3. Name the file `tempXX.bmp` where `XX` is the next number in the series of images |
| 34 | + |
| 35 | +[FAQ](#faq) |
| 36 | + |
| 37 | +## Finding faces |
| 38 | +1. Refresh the cameras in the list. |
| 39 | + - This will get all the webcams/cameras currently plugged in |
| 40 | +2. Select a resolution from the dropdown below it |
| 41 | + - Fastest results is to use a lower resolution as it is faster at finding the faces |
| 42 | +3. First capture the face with [Ctrl-Shift-C](#short-keys) |
| 43 | +4. Then test if the found face is in the [library*](#library) using [Ctrl-Shift-F](##short-keys) |
| 44 | + - It will then display the found face & average face reconstructed. |
| 45 | + |
| 46 | +# FAQ |
| 47 | +_Question_ |
| 48 | +The program keeps crashing after adding faces. Why is it doing this? |
| 49 | +> Most likely you have not added the correct amount of images. You must add *3* (no more, no less) images of your face for the program to work. Any more or any less and the program will throw an exception. |
| 50 | +
|
| 51 | +# References |
| 52 | + |
| 53 | +## Library |
| 54 | +When talking about library, I am stating that the image library of the faces must be preset with your face to be 'recognized' by the software. The image must follow the [format](#format) of the faces to be searched for the program to work correctly. |
| 55 | +## Viola-Jones |
| 56 | +When talking about Viola-Jones I am referencing the method of Viola-Jones. |
| 57 | +[Wiki](https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework) |
| 58 | +[Slides-shortened](http://www.cs.ubc.ca/~lowe/425/slides/13-ViolaJones.pdf) |
| 59 | +# Eigen Faces |
| 60 | +The face finder method used is based on the paper found [here](https://en.wikipedia.org/wiki/Eigenface). |
| 61 | +[EigenFaces paper](http://www.face-rec.org/algorithms/PCA/jcn.pdf) |
| 62 | + |
4 | 63 | # License |
5 | 64 | MIT License |
| 65 | +> *Note*: The Viola-Jones library used can be found [here](https://github.com/accord-net/framework) under [Accord-Vision](https://github.com/accord-net/framework/tree/development/Sources/Accord.Vision). |
0 commit comments