Professional Documents
Culture Documents
Face Recognition Web App Tutorial: by Fatih Cagatay Akyon
Face Recognition Web App Tutorial: by Fatih Cagatay Akyon
Face Recognition Web App Tutorial: by Fatih Cagatay Akyon
1
Web App Preview
• Live demo URL: https://face-recognition-api-flask.herokuapp.com/
2
Who Am I
Machine Learning
Deep Learning
10+ IEEE papers linkedin.com/fcakyon
Computer Vision
5 patents Object Detection
fcakyon@gmail.com
Radar Signal Detection
Modulation Classification
3
Outline
• Facial feature extraction
• SVM, Naïve Bayes, Multi Layer Perceptron
• LOTR Dataset
• Local project structure
• Online project structure
• Pushing our app to Github
• Deploying our app to AWS via Heroku
4
Traditional face recognition
• Extract features
• Store them in a db
5
Deep learning based facial embedding extraction
Paper url: https://www.cv-foundation.org/openaccess/content_cvpr_2015/app/1A_089.pdf
6
ML based face recognition
ML Based
FaceNet Classifier
Faces Embeddings Face Label
Naïve Bayes
Support Vector Machine
Multi Layer Perceptron
…
128x1
vector
7
Naïve Bayes
8
Support Vector Machine
9
Multi Layer Perceptron
128x1
vector Number 32 32 Number
of neuron neuron of
features classes
10
LOTR Dataset
11
Face detection/ Examples classes
Aragorn Gollum
Frodo Legolas
Gandalf Saruman
12
Independent test set
Local project structure
(http://127.0.0.1:3000/detect)
Sending post request on
(http://127.0.0.1:4000/) /detect method (http://127.0.0.1:3000/)
14