SlideShare a Scribd company logo
RECOGNISING FACES
MACHINE LEARNING & COMPUTER VISION: 101
SAKSHAM GAUTAM
08.06.2016 Saksham Gautam
LET’S START WITH A QUICK SHOW OF HANDS
HOW MANY OF YOU…
▸ have heard about machine learning?
▸ have used machine learning in your projects?
▸ have implemented any ML algorithm from scratch?
▸ have done Andrew Ng’s (or other) courses on ML?
▸ understand that deep learning uses neural network?
▸ still remember what the kernel trick is?
08.06.2016 Saksham Gautam
SHOW OF HANDS ON YOUR FAMILIARITY WITH COMPUTER VISION
HOW ABOUT…
▸ know how an image can be represented as a matrix?
▸ have used openCV or MATLAB?
▸ understand how convolution can be used to detect edges?
▸ know the role of scale space in computer vision?
▸ remember how eigenvectors can be used for face
recognition?
08.06.2016 Saksham Gautam
WHAT DO WE WANT TO ACHIEVE?
FACE DETECTION & RECOGNITION
http://docs.opencv.org/master/d7/d8b/tutorial_py_face_detection.html#gsc.tab=0
FACE
MONA LISA
NOT A FACE!
08.06.2016 Saksham Gautam
TO RECOGNISE AND LABEL OBJECTS IN AN IMAGE
OBJECT RECOGNITION
08.06.2016 Saksham Gautam
BASIC STEPS FOR FACE RECOGNITION
BUT HOW EXACTLY?
1. Capture image
2. Filter out noise
3. Find face in the image
4. Create a similarity metric and a model (Training)
5. Match any given face to one from the database
6. Return the closest match with the probability
08.06.2016 Saksham Gautam
FACE RECOGNITION CAN BE BROKEN DOWN INTO SIMPLE STEPS
BUILDING BLOCKS
RAW IMAGE
PROCESSED
IMAGE
FEATURES
MACHINE LEARNING
ALGORITHM
Training
Validation
MODEL
RAW IMAGE
DECISION
How can I capture image?
Remove any noise?
What’s the information

in the image?
Can we match patterns?
08.06.2016 Saksham Gautam
HUMAN SEES BEAUTY BUT COMPUTER SEES NUMBERS
WHAT IS THIS?
=
08.06.2016 Saksham Gautam
PIXEL VALUES CAN BE THOUGHT OF AS ‘ELEVATION’ IN IMAGE PLANE
MONALISA IN 3D?
08.06.2016 Saksham Gautam
FILTER - I, MEAN FILTER CAN REMOVE RANDOM NOISE
MEAN FILTER
08.06.2016 Saksham Gautam
FILTERS - II, MEDIAN FILTER CAN REMOVE SALT & PEPPER NOISE
MEDIAN FILTER
08.06.2016 Saksham Gautam
FILTERS-III, ADVANCED FILTERS CAN REMOVE DIFFERENT TYPES OF NOISE
ADVANCED FILTERS
▸ Bilateral filters
▸ Adaptive bilateral filters
▸ …
08.06.2016 Saksham Gautam
38 53 38 70 84
5 56 69 82 98
34 87 85 5 40
25 99 43 69 76
11 61 86 94 59
-1 0 1
-1 0 1
-1 0 1
CONVOLUTION CAN BE APPLIED VERY QUICKLY ON AN IMAGE
CONVOLUTION
*
38 0 -38
5 0 -69
34 0 -85
-115
-115 56 16
-69 112 12
-93 3 6
08.06.2016 Saksham Gautam
CONVOLUTION CAN BE USED FOR COMPUTING IMAGE GRADIENT
IMAGE GRADIENT
0 0 0
100 100 100
0 50 100
100 50 0
-1 0 1
*
0
0
100
-100
=
08.06.2016 Saksham Gautam
EDGES AND CORNERS ARE FEATURES IN AN IMAGE
SOBEL FILTER FOR DETECTING EDGES
HARRIS CORNER DETECTOR
-1 0 1
-2 0 2
-1 0 1
Gx =
-1 -2 -1
0 0 0
1 2 1
Gy =
$python sobel-filter.py
$python harris-corner.py
08.06.2016 Saksham Gautam
MORE ROBUST FEATURES CAN BE USED FOR OBJECT RECOGNITION
SIFT, SURF, HOG
▸ More advanced features can be used for scale invariance
▸ Some are robust even under varying lighting conditions
▸ These serve as the starting point for the ML part
08.06.2016 Saksham Gautam
CASCADES OF FILTERS ON AN IMAGE CAN BE USED FOR DETECTING FACES
DETECTING FACES
http://siret.ms.mff.cuni.cz/facereco/method/
$python viola-jones.py
08.06.2016 Saksham Gautam
FEATURES FRO THE FACE CAN BE FED TO AN ML ALGORITHM
BUILDING BLOCKS
RAW IMAGE
PROCESSED
IMAGE
FEATURES
MACHINE LEARNING
ALGORITHM
Training
Validation
MODEL
RAW IMAGE
DECISION
PERFORMANCE (P) OF A METHOD
FOR A TASK (T) INCREASES WITH
EXPERIENCE (E)
Tom Mitchell
BTW, WHO LEARNS? THE MACHINE, REALLY?
08.06.2016 Saksham Gautam
PROBABILITY AND STATISTICS CAN HELP ANSWER MANY QUESTIONS
T-SHIRT SIZE FOR THE SUMMIT MAYBE I SHOULD
HAVE PICKED ‘M’
INSTEAD OF ’S'
08.06.2016 Saksham Gautam
EXACT SOLUTION IS NOT ALWAYS POSSIBLE
T-SHIRT SIZE ~ MY BODY’S MEASUREMENTS
08.06.2016 Saksham Gautam
MAXIMUM LIKELIHOOD ESTIMATE HELPS ON THE FACE OF UNCERTAINTY
CLASSIFICATION PROBLEM?
Length #2
Length #1
S
M
Length #1
Length #2
S
08.06.2016 Saksham Gautam
MEMBERSHIP TO A CLUSTER CAN BE USED FOR CLASSIFICATION
CLUSTERING
Length #2
Length #1
S
M
08.06.2016 Saksham Gautam
MARGINS CAN BE USED FOR SEPARATING CLASSES
LARGE MARGIN CLASSIFIER
Length #2
Length #1
08.06.2016 Saksham Gautam
LOG(DISTANCE FROM THE HYPERPLANE) = PROBABILITY
LOGISTIC REGRESSION
Length #2
Length #1
08.06.2016 Saksham Gautam
LARGE MARGIN CLASSIFIER CAN BE USED FOR DETECTING FACES
FEEDING VALUES FROM VIOLA JONES FILTER
X1
X2
FACE
NOT A FACE
08.06.2016 Saksham Gautam
FEATURES SHOULD MAXIMISE VARIANCE (SCATTER)
EIGENVECTORS
V1
V2
X1
X2
08.06.2016 Saksham Gautam
MATRIX DECOMPOSITION ON FACES CAN BE USED TO FIND EIGENFACES
FACIAL FEATURES AS EIGENVECTORS
V1
V2
Projection
08.06.2016 Saksham Gautam
ACCURACY ITSELF IS NOT ENOUGH
CROSS VALIDATION AND F SCORE
DUMMY CANCER
DETECTOR
Data
No
ACCURACY = 98%
08.06.2016 Saksham Gautam
IMAGE CAN BE DIRECTLY FED INTO NEURAL NETWORK
NEURAL NETWORK
08.06.2016 Saksham Gautam
GO WITH THE HYPE, BUT WITH CARE
DEEP LEARNING ~ MASSIVE NEURAL NETWORK
▸ Learning algorithm is the same, i.e. back propagation
▸ Has the same problem with overfitting
▸ Can be used for feature extraction and selection
▸ Mathematical foundations for neural network still not
“perfect”
▸ Pointer: https://www.tensorflow.org from Google
08.06.2016 Saksham Gautam
MACHINE LEARNING PIPELINE
SUMMARY
RAW IMAGE
PROCESSED
IMAGE
FEATURES
MACHINE LEARNING
ALGORITHM
Training
Validation
MODEL
RAW IMAGE
DECISION
REFERENCES
• OpenCV Documentation. http://docs.opencv.org/3.1.0/#gsc.tab=0
• Andrew Ng. Machine Learning Courser on Coursera. http://www.coursera.org/learn/machine-learning
• Christopher Bishop. Machines that Learn. https://www.youtube.com/watch?v=icaA7gVxqSs
• Video Lecture on Face Detection and Tracking. https://www.youtube.com/watch?v=WfdYYNamHZ8
• Adam Harvey explains Viola-Jones Face Detection. http://www.makematics.com/research/viola-jones/
• Christopher, M. Bishop. "Pattern recognition and machine learning." Company New York 16.4 (2006):
049901.
• Bradski, Gary, and Adrian Kaehler. Learning OpenCV: Computer vision with the OpenCV library. "
O'Reilly Media, Inc .", 2008
• Solem, Jan Erik. Programming Computer Vision with Python: Tools and algorithms for analyzing
images. " O'Reilly Me dia, Inc.", 2012.
• Hartley, Richard, and Andrew Zisserman. Multiple view geometry in computer vision. Cambridge
university press, 2003.
Machine learning & computer vision
BACKUP SLIDES
08.06.2016 Saksham Gautam
IMAGE GRADIENT IS THE BASIS OF FEATURE EXTRACTION
GRADIENT IMAGE
-1 0 1gx =
-1
0
1
gy =* A * A
08.06.2016 Saksham Gautam
EVERY SIGNAL CAN BE DECOMPOSED TO SINES AND COSINES
FOURIER TRANSFORM
▸ Frequency can be thought of as information in the image
▸ Fourier Transform can be used to decompose a signal into
these components
▸ Signal can be multiplied with filter in frequency domain
▸ Multiplication in frequency domain is convolution in time
domain

More Related Content

PPTX
Computer vision, machine, and deep learning
PPTX
Genetic algorithms vs Traditional algorithms
PPTX
Machine Learning
PPTX
Optimization problems and algorithms
PPT
3.5 model based clustering
PPTX
ID3 ALGORITHM
PPTX
Deep Learning With Neural Networks
PPTX
Problem solving agents
Computer vision, machine, and deep learning
Genetic algorithms vs Traditional algorithms
Machine Learning
Optimization problems and algorithms
3.5 model based clustering
ID3 ALGORITHM
Deep Learning With Neural Networks
Problem solving agents

What's hot (20)

PPTX
Introduction to Linear Discriminant Analysis
PDF
Performance Metrics for Machine Learning Algorithms
PDF
Introduction to Machine learning with Python
PDF
Supervised and Unsupervised Machine Learning
PDF
Principal component analysis and lda
PPTX
Unit 1 - ML - Introduction to Machine Learning.pptx
PDF
Machine Learning and its Applications
PPTX
Overfitting & Underfitting
PPTX
Machine learning session4(linear regression)
PPTX
Introduction to Machine Learning
PPTX
Tomato leaves diseases detection approach based on support vector machines
PDF
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
PPT
2.5 backpropagation
PPTX
Machine Learning Algorithms
PPTX
Presentation on supervised learning
PDF
Classification Based Machine Learning Algorithms
PDF
Graph Theory: Cut-Set and Cut-Vertices
PPTX
Computer Vision
PPTX
Lecture-12Evaluation Measures-ML.pptx
PPTX
Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ...
Introduction to Linear Discriminant Analysis
Performance Metrics for Machine Learning Algorithms
Introduction to Machine learning with Python
Supervised and Unsupervised Machine Learning
Principal component analysis and lda
Unit 1 - ML - Introduction to Machine Learning.pptx
Machine Learning and its Applications
Overfitting & Underfitting
Machine learning session4(linear regression)
Introduction to Machine Learning
Tomato leaves diseases detection approach based on support vector machines
UNIT - I PROBLEM SOLVING AGENTS and EXAMPLES.pptx.pdf
2.5 backpropagation
Machine Learning Algorithms
Presentation on supervised learning
Classification Based Machine Learning Algorithms
Graph Theory: Cut-Set and Cut-Vertices
Computer Vision
Lecture-12Evaluation Measures-ML.pptx
Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ...
Ad

Viewers also liked (13)

PPTX
Bi model face recognition framework
PPTX
Robust face name graph matching for movie character identification - Final PPT
PPTX
Facial recognition locker for android
PPTX
Face recognition
PPTX
Face Recognition using OpenCV
PPT
Face Detection and Recognition System
PPT
Face detection using template matching
PPTX
Face recognition technology
PPT
Eigenface For Face Recognition
PPTX
Facial recognition powerpoint
PPT
Pattern recognition
PPSX
Face recognition technology - BEST PPT
PDF
Microsoft power point Face recognition
Bi model face recognition framework
Robust face name graph matching for movie character identification - Final PPT
Facial recognition locker for android
Face recognition
Face Recognition using OpenCV
Face Detection and Recognition System
Face detection using template matching
Face recognition technology
Eigenface For Face Recognition
Facial recognition powerpoint
Pattern recognition
Face recognition technology - BEST PPT
Microsoft power point Face recognition
Ad

Similar to Machine learning & computer vision (20)

PPT
PPTX
Image analytics - A Primer
PDF
Computer Vision: Pattern Recognition
PPTX
Overview of Computer Vision For Footwear Industry
PDF
Face Recognition Based on Image Processing in an Advanced Robotic System
PPTX
Cahall Final Intern Presentation
PPTX
The objectdetection using the Artificialintelligence.pptx
PPTX
Information from pixels
PPTX
Extracting individual information using facial recognition in a smart mirror....
PPT
Introduction to Digital Image Processing
PDF
Lec12 review-part-i
PDF
Solr and Machine Vision - Scott Cote, Lucidworks & Trevor Grant, IBM
PPTX
LEARNING BASES OF ACTICITY
PDF
Fcv core szeliski_zisserman
PPTX
Scaling Face Recognition with Big Data - Key Notes at DevTalks Bucharest 2017
PPTX
InfoEducatie - Face Recognition Architecture
PPT
Image Processing
PPT
Automated Face Detection System
PDF
Machine Learning Foundations for Professional Managers
PPT
Introduction to Machine Vision
Image analytics - A Primer
Computer Vision: Pattern Recognition
Overview of Computer Vision For Footwear Industry
Face Recognition Based on Image Processing in an Advanced Robotic System
Cahall Final Intern Presentation
The objectdetection using the Artificialintelligence.pptx
Information from pixels
Extracting individual information using facial recognition in a smart mirror....
Introduction to Digital Image Processing
Lec12 review-part-i
Solr and Machine Vision - Scott Cote, Lucidworks & Trevor Grant, IBM
LEARNING BASES OF ACTICITY
Fcv core szeliski_zisserman
Scaling Face Recognition with Big Data - Key Notes at DevTalks Bucharest 2017
InfoEducatie - Face Recognition Architecture
Image Processing
Automated Face Detection System
Machine Learning Foundations for Professional Managers
Introduction to Machine Vision

Recently uploaded (20)

PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPT
Quality review (1)_presentation of this 21
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PPT
Reliability_Chapter_ presentation 1221.5784
PDF
Fluorescence-microscope_Botany_detailed content
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Introduction to Business Data Analytics.
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
1_Introduction to advance data techniques.pptx
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Lecture1 pattern recognition............
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Quality review (1)_presentation of this 21
Moving the Public Sector (Government) to a Digital Adoption
Reliability_Chapter_ presentation 1221.5784
Fluorescence-microscope_Botany_detailed content
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
Introduction-to-Cloud-ComputingFinal.pptx
Clinical guidelines as a resource for EBP(1).pdf
Introduction to Business Data Analytics.
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Supervised vs unsupervised machine learning algorithms
1_Introduction to advance data techniques.pptx
IB Computer Science - Internal Assessment.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Lecture1 pattern recognition............
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
climate analysis of Dhaka ,Banglades.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx

Machine learning & computer vision

  • 1. RECOGNISING FACES MACHINE LEARNING & COMPUTER VISION: 101 SAKSHAM GAUTAM
  • 2. 08.06.2016 Saksham Gautam LET’S START WITH A QUICK SHOW OF HANDS HOW MANY OF YOU… ▸ have heard about machine learning? ▸ have used machine learning in your projects? ▸ have implemented any ML algorithm from scratch? ▸ have done Andrew Ng’s (or other) courses on ML? ▸ understand that deep learning uses neural network? ▸ still remember what the kernel trick is?
  • 3. 08.06.2016 Saksham Gautam SHOW OF HANDS ON YOUR FAMILIARITY WITH COMPUTER VISION HOW ABOUT… ▸ know how an image can be represented as a matrix? ▸ have used openCV or MATLAB? ▸ understand how convolution can be used to detect edges? ▸ know the role of scale space in computer vision? ▸ remember how eigenvectors can be used for face recognition?
  • 4. 08.06.2016 Saksham Gautam WHAT DO WE WANT TO ACHIEVE? FACE DETECTION & RECOGNITION http://docs.opencv.org/master/d7/d8b/tutorial_py_face_detection.html#gsc.tab=0 FACE MONA LISA NOT A FACE!
  • 5. 08.06.2016 Saksham Gautam TO RECOGNISE AND LABEL OBJECTS IN AN IMAGE OBJECT RECOGNITION
  • 6. 08.06.2016 Saksham Gautam BASIC STEPS FOR FACE RECOGNITION BUT HOW EXACTLY? 1. Capture image 2. Filter out noise 3. Find face in the image 4. Create a similarity metric and a model (Training) 5. Match any given face to one from the database 6. Return the closest match with the probability
  • 7. 08.06.2016 Saksham Gautam FACE RECOGNITION CAN BE BROKEN DOWN INTO SIMPLE STEPS BUILDING BLOCKS RAW IMAGE PROCESSED IMAGE FEATURES MACHINE LEARNING ALGORITHM Training Validation MODEL RAW IMAGE DECISION How can I capture image? Remove any noise? What’s the information
 in the image? Can we match patterns?
  • 8. 08.06.2016 Saksham Gautam HUMAN SEES BEAUTY BUT COMPUTER SEES NUMBERS WHAT IS THIS? =
  • 9. 08.06.2016 Saksham Gautam PIXEL VALUES CAN BE THOUGHT OF AS ‘ELEVATION’ IN IMAGE PLANE MONALISA IN 3D?
  • 10. 08.06.2016 Saksham Gautam FILTER - I, MEAN FILTER CAN REMOVE RANDOM NOISE MEAN FILTER
  • 11. 08.06.2016 Saksham Gautam FILTERS - II, MEDIAN FILTER CAN REMOVE SALT & PEPPER NOISE MEDIAN FILTER
  • 12. 08.06.2016 Saksham Gautam FILTERS-III, ADVANCED FILTERS CAN REMOVE DIFFERENT TYPES OF NOISE ADVANCED FILTERS ▸ Bilateral filters ▸ Adaptive bilateral filters ▸ …
  • 13. 08.06.2016 Saksham Gautam 38 53 38 70 84 5 56 69 82 98 34 87 85 5 40 25 99 43 69 76 11 61 86 94 59 -1 0 1 -1 0 1 -1 0 1 CONVOLUTION CAN BE APPLIED VERY QUICKLY ON AN IMAGE CONVOLUTION * 38 0 -38 5 0 -69 34 0 -85 -115 -115 56 16 -69 112 12 -93 3 6
  • 14. 08.06.2016 Saksham Gautam CONVOLUTION CAN BE USED FOR COMPUTING IMAGE GRADIENT IMAGE GRADIENT 0 0 0 100 100 100 0 50 100 100 50 0 -1 0 1 * 0 0 100 -100 =
  • 15. 08.06.2016 Saksham Gautam EDGES AND CORNERS ARE FEATURES IN AN IMAGE SOBEL FILTER FOR DETECTING EDGES HARRIS CORNER DETECTOR -1 0 1 -2 0 2 -1 0 1 Gx = -1 -2 -1 0 0 0 1 2 1 Gy = $python sobel-filter.py $python harris-corner.py
  • 16. 08.06.2016 Saksham Gautam MORE ROBUST FEATURES CAN BE USED FOR OBJECT RECOGNITION SIFT, SURF, HOG ▸ More advanced features can be used for scale invariance ▸ Some are robust even under varying lighting conditions ▸ These serve as the starting point for the ML part
  • 17. 08.06.2016 Saksham Gautam CASCADES OF FILTERS ON AN IMAGE CAN BE USED FOR DETECTING FACES DETECTING FACES http://siret.ms.mff.cuni.cz/facereco/method/ $python viola-jones.py
  • 18. 08.06.2016 Saksham Gautam FEATURES FRO THE FACE CAN BE FED TO AN ML ALGORITHM BUILDING BLOCKS RAW IMAGE PROCESSED IMAGE FEATURES MACHINE LEARNING ALGORITHM Training Validation MODEL RAW IMAGE DECISION
  • 19. PERFORMANCE (P) OF A METHOD FOR A TASK (T) INCREASES WITH EXPERIENCE (E) Tom Mitchell BTW, WHO LEARNS? THE MACHINE, REALLY?
  • 20. 08.06.2016 Saksham Gautam PROBABILITY AND STATISTICS CAN HELP ANSWER MANY QUESTIONS T-SHIRT SIZE FOR THE SUMMIT MAYBE I SHOULD HAVE PICKED ‘M’ INSTEAD OF ’S'
  • 21. 08.06.2016 Saksham Gautam EXACT SOLUTION IS NOT ALWAYS POSSIBLE T-SHIRT SIZE ~ MY BODY’S MEASUREMENTS
  • 22. 08.06.2016 Saksham Gautam MAXIMUM LIKELIHOOD ESTIMATE HELPS ON THE FACE OF UNCERTAINTY CLASSIFICATION PROBLEM? Length #2 Length #1 S M Length #1 Length #2 S
  • 23. 08.06.2016 Saksham Gautam MEMBERSHIP TO A CLUSTER CAN BE USED FOR CLASSIFICATION CLUSTERING Length #2 Length #1 S M
  • 24. 08.06.2016 Saksham Gautam MARGINS CAN BE USED FOR SEPARATING CLASSES LARGE MARGIN CLASSIFIER Length #2 Length #1
  • 25. 08.06.2016 Saksham Gautam LOG(DISTANCE FROM THE HYPERPLANE) = PROBABILITY LOGISTIC REGRESSION Length #2 Length #1
  • 26. 08.06.2016 Saksham Gautam LARGE MARGIN CLASSIFIER CAN BE USED FOR DETECTING FACES FEEDING VALUES FROM VIOLA JONES FILTER X1 X2 FACE NOT A FACE
  • 27. 08.06.2016 Saksham Gautam FEATURES SHOULD MAXIMISE VARIANCE (SCATTER) EIGENVECTORS V1 V2 X1 X2
  • 28. 08.06.2016 Saksham Gautam MATRIX DECOMPOSITION ON FACES CAN BE USED TO FIND EIGENFACES FACIAL FEATURES AS EIGENVECTORS V1 V2 Projection
  • 29. 08.06.2016 Saksham Gautam ACCURACY ITSELF IS NOT ENOUGH CROSS VALIDATION AND F SCORE DUMMY CANCER DETECTOR Data No ACCURACY = 98%
  • 30. 08.06.2016 Saksham Gautam IMAGE CAN BE DIRECTLY FED INTO NEURAL NETWORK NEURAL NETWORK
  • 31. 08.06.2016 Saksham Gautam GO WITH THE HYPE, BUT WITH CARE DEEP LEARNING ~ MASSIVE NEURAL NETWORK ▸ Learning algorithm is the same, i.e. back propagation ▸ Has the same problem with overfitting ▸ Can be used for feature extraction and selection ▸ Mathematical foundations for neural network still not “perfect” ▸ Pointer: https://www.tensorflow.org from Google
  • 32. 08.06.2016 Saksham Gautam MACHINE LEARNING PIPELINE SUMMARY RAW IMAGE PROCESSED IMAGE FEATURES MACHINE LEARNING ALGORITHM Training Validation MODEL RAW IMAGE DECISION
  • 33. REFERENCES • OpenCV Documentation. http://docs.opencv.org/3.1.0/#gsc.tab=0 • Andrew Ng. Machine Learning Courser on Coursera. http://www.coursera.org/learn/machine-learning • Christopher Bishop. Machines that Learn. https://www.youtube.com/watch?v=icaA7gVxqSs • Video Lecture on Face Detection and Tracking. https://www.youtube.com/watch?v=WfdYYNamHZ8 • Adam Harvey explains Viola-Jones Face Detection. http://www.makematics.com/research/viola-jones/ • Christopher, M. Bishop. "Pattern recognition and machine learning." Company New York 16.4 (2006): 049901. • Bradski, Gary, and Adrian Kaehler. Learning OpenCV: Computer vision with the OpenCV library. " O'Reilly Media, Inc .", 2008 • Solem, Jan Erik. Programming Computer Vision with Python: Tools and algorithms for analyzing images. " O'Reilly Me dia, Inc.", 2012. • Hartley, Richard, and Andrew Zisserman. Multiple view geometry in computer vision. Cambridge university press, 2003.
  • 36. 08.06.2016 Saksham Gautam IMAGE GRADIENT IS THE BASIS OF FEATURE EXTRACTION GRADIENT IMAGE -1 0 1gx = -1 0 1 gy =* A * A
  • 37. 08.06.2016 Saksham Gautam EVERY SIGNAL CAN BE DECOMPOSED TO SINES AND COSINES FOURIER TRANSFORM ▸ Frequency can be thought of as information in the image ▸ Fourier Transform can be used to decompose a signal into these components ▸ Signal can be multiplied with filter in frequency domain ▸ Multiplication in frequency domain is convolution in time domain