General Information
|
|
|
|
7 |
6 |
3 |
|
1 |
4 |
5 |
|
4 |
1 |
2 |
We will perform the threshold, and will get:
|
1 |
1 |
0 |
|
0 |
|
1 |
|
1 |
0 |
0 |
This will be then encoded to the binary number: 01101001.
3. Images Training using Support Vector Machine (SVM)
SVM is supposed to give the best results for LBP face representation. In our implementation we used libSVM. We used a multiclass SVM that performs classification of K individuals.
4. Algorithm Acceleration
At first we tried to parallelize the algorithm by using Intel Parallel studio tools, as Cilk and TBB. Due to insufficient results, we tried to use another technique: instead of computing the LBP feature for each pixel in the detected face image, we calculate it once for the whole image. The concept is to create 8 new images, while each image will be a shift of the original image by a different direction, i.e.: we will convert each pixel (x, y) in the photo to each of the following pixels: (x+1, y), (x-1, y), (x, y+1), (x, y-1), (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1) this way we will get 8 different images. The next stage is to subtract the original image from each one of the new images. By doing that we get another 8 new images. For computing LBP for a specific pixel (x, y), we will look at each one of the (x, y) pixels, in the different 8 new images. For example, let's name the new image we created by shifting the original image by (x+1, y) Img1. Considering we want to compute the (x, y) pixel's neighbor, which is located on top of this pixel, we should look at the pixel (x, y) at the image which is the subtraction of Img1 from the original image. This way we do all image needed calculations at once, instead of calculating it for each pixel separately. Combining this technique with performing detection operation on every other frame, we get a good improvement in performance.
The Application
The application allows an employer to add and remove employees from the database, edit their information (such as weekly schedule, rank etc.) and display the current information; including viewing reports of each employees' tardiness in the last week they worked as well as salary in the last 12 months they worked.
Project Related Links
http://www.cs.tau.ac.il/~wolf/papers/jpatchlbp.pdf:
"Face Recognition by Combining Multiple Descriptors and Learned Background Statistics”
http://upcommons.upc.edu/pfc/bitstream/2099.1/10772/1/PFC_LauraSanchez_(LBP_applied_to_FaceDetection%26Recognition).pdf: "Local Binary Patterns applied to face detection and recognition"
http://www.csie.ntu.edu.tw/~cjlin/libsvm/ : LibSVM
http://opencv.willowgarage.com/wiki/ : OpenCV Wiki-pages
