You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FaceRecognition/README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
3
3
Modern face recognition with deep learning and HOG algorithm.
4
4
5
-
1. Find faces in image
6
-
2. Affine Transformations
7
-
3. Encoding Faces
8
-
4. Make a prediction
9
-
10
-
Using the pipeline described [in this post from Adam Geitgey](https://medium.com/@ageitgey/machine-learning-is-fun-part-4-modern-face-recognition-with-deep-learning-c3cffc121d78).
5
+
1. Find faces in image (HOG Algorithm)
6
+
2. Affine Transformations (Face alignment using an ensemble of regression
7
+
trees)
8
+
3. Encoding Faces (FaceNet)
9
+
4. Make a prediction (Linear SVM)
11
10
12
11
We are using the [Histogram of Oriented Gradients](http://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf) (HOG) method. Instead of computing gradients for every pixel of the image (way too much detail). We compute the weighted vote orientation gradients of 16x16 pixels squares. Afterward, we have a simple representation (HOG image) that captures the basic structure of a face.
13
12
All we have to do is find the part of our image that looks the most similar to a known trained HOG pattern.
@@ -34,5 +33,11 @@ The training process works by looking at 3 face images at a time:
34
33
- Load a picture of a different person and generate for the two pictures the 128 measurements
35
34
Then we tweak the neural network slightly so that it makes sure the measurements for the same person are slightly closer while making sure the measurements for the two different persons are slightly further apart.
36
35
Once the network has been trained, it can generate measurements for any face, even ones it has never seen before!
Finally, we need a classifier (Linear SVM or other classifier) to find the person in our database of known people who has the closest measurements to our test image. We train the classifier with the measurements as input.
37
42
38
-
Finally, we need a classifier (Linear SVM or other classifier) to find the person in our database of known people who has the closest measurements to our test image. We train the classifier with the measurements as input.
43
+
Thanks to Adam Geitgey who wrote a great [post](https://medium.com/@ageitgey/machine-learning-is-fun-part-4-modern-face-recognition-with-deep-learning-c3cffc121d78) about this, I followed his pipeline.
## [Predicting IMDB movie rating](https://github.com/alexattia/Data-Science-Projects/tree/master/KaggleMovieRating)
18
-
Project inspired by Chuan Sun [work](https://www.kaggle.com/deepmatrix/imdb-5000-movie-dataset)
19
-
How can we tell the greatness of a movie ?
20
-
Scrapping and Machine Learning
15
+
I've recently discovered the Chris Albon Machine Learning flash cards and I want to download those flash cards but the official Twitter API has a limit rate of 2 weeks old tweets so I had to find a way to bypass this limitation : use Selenium and PhantomJS.
16
+
Purpose of this project : Check every 2 hours, if he posted new flash cards. In this case, download them and send me a summary email.
Modern face recognition with deep learning and HOG algorithm. Using dlib C++ library, I have a quick face recognition tool using few pictures (20 per person).
21
21
22
22
## [Playing with Soccer data](https://github.com/alexattia/Data-Science-Projects/tree/master/KaggleSoccer)
23
23
24
24
As a soccer fan and a data passionate, I wanted to play and analyze with soccer data.
25
25
I don't know currently what's the aim of this project but I will parse data from diverse websites, for differents teams and differents players.
I've recently discovered the Chris Albon Machine Learning flash cards and I want to download those flash cards but the official Twitter API has a limit rate of 2 weeks old tweets so I had to find a way to bypass this limitation : use Selenium and PhantomJS.
30
-
Purpose of this project : Check every 2 hours, if he posted new flash cards. In this case, download them and send me a summary email.
28
+
29
+
## [Kaggle Understanding the Amazon from Space](https://github.com/alexattia/Data-Science-Projects/tree/master/KaggleAmazon)
30
+
Use satellite data to track the human footprint in the Amazon rainforest.
31
+
Deep Learning model (using Keras) to label satellite images.
32
+
33
+
## [Predicting IMDB movie rating](https://github.com/alexattia/Data-Science-Projects/tree/master/KaggleMovieRating)
34
+
Project inspired by Chuan Sun [work](https://www.kaggle.com/deepmatrix/imdb-5000-movie-dataset)
0 commit comments