SlideShare a Scribd company logo
1 of 11
Face Verification and
Recognition
Nemish Kanwar
Associate Consultant- Machine Learning
Face
Verification
v/s Face
Recognition
Face Verification
β€’ Checking if the
person is the one
who he claims to be
01
Face Recognition
β€’ Who is this person?
β€’ Outputs ID, if person
in database
02
Similarity function
β€’ Degree of difference between images
𝑓 π‘₯ =
same, 𝑑 π‘–π‘šπ‘”1, π‘–π‘šπ‘”2 < 𝜏
different, 𝑑 π‘–π‘šπ‘”1, π‘–π‘šπ‘”2 β‰₯ 𝜏
Siamese Network
β€’ Mapping from image to Euclidian Space (encoding)
β€’ The encoding used for face verification, recognition and Clustering
128
β€’ An Image is converted to an encoding of size 128
β€’ Images compared using encodings of two faces
SN
SN
𝑑 π‘₯ 𝑖 , π‘₯ 𝑗 = f π‘₯ 𝑖 βˆ’ f π‘₯ 𝑗 2
𝑦 = 1 𝑖𝑓 𝑑 < 𝜏 𝑒𝑙𝑠𝑒 0
Training the Network
Triplet Loss
Anchor Image
Positive Image
Negative Image
𝑑 𝐴, 𝑃 + 𝜢 ≀ 𝑑 𝐴, 𝑁
𝛼 = margin
𝑑 𝐴, 𝑃 βˆ’ 𝑑 𝐴, 𝑁 + 𝛼 ≀ 0
𝐿 𝐴, 𝑃, 𝑁 = max(𝑑 𝐴, 𝑃 βˆ’ 𝑑 𝐴, 𝑁 + 𝛼, 0)
Cost, 𝐽 =
𝑖=1
π‘š
𝐿(𝐴𝑖
, 𝑃 𝑖
, 𝑁 𝑖
)
Inception Block
Face Recognition
β€’ Extension of Face Verification
β€’ Each identity has there corresponding encoding pre-saved
β€’ Incoming image is compared with each encoding
β€’ Output: The least distance if less than threshold
Dog breed not found in
Database
Address to slides
Address to slides
https://www.slideshare.net/nemishkanwar5/face-verification-and-
recognition
Find me on Linkedin @
https://www.linkedin.com/in/nemishkanwar/

More Related Content

More from Nemish Kanwar

Mechanical Maintenance Department-Balance of Power, Adani Power
Mechanical Maintenance Department-Balance of Power, Adani PowerMechanical Maintenance Department-Balance of Power, Adani Power
Mechanical Maintenance Department-Balance of Power, Adani PowerNemish Kanwar
Β 
Adani power Practice School
Adani power Practice SchoolAdani power Practice School
Adani power Practice SchoolNemish Kanwar
Β 
MEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeMEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeNemish Kanwar
Β 
Haldiram's Operation Research
Haldiram's Operation ResearchHaldiram's Operation Research
Haldiram's Operation ResearchNemish Kanwar
Β 
Mems gyroscope
Mems gyroscopeMems gyroscope
Mems gyroscopeNemish Kanwar
Β 

More from Nemish Kanwar (7)

Mechanical Maintenance Department-Balance of Power, Adani Power
Mechanical Maintenance Department-Balance of Power, Adani PowerMechanical Maintenance Department-Balance of Power, Adani Power
Mechanical Maintenance Department-Balance of Power, Adani Power
Β 
Adani power Practice School
Adani power Practice SchoolAdani power Practice School
Adani power Practice School
Β 
MEMS Pressure difference based Gyroscope
MEMS Pressure difference based GyroscopeMEMS Pressure difference based Gyroscope
MEMS Pressure difference based Gyroscope
Β 
Prodtfinal1
Prodtfinal1Prodtfinal1
Prodtfinal1
Β 
Haldiram's
Haldiram'sHaldiram's
Haldiram's
Β 
Haldiram's Operation Research
Haldiram's Operation ResearchHaldiram's Operation Research
Haldiram's Operation Research
Β 
Mems gyroscope
Mems gyroscopeMems gyroscope
Mems gyroscope
Β 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
Β 
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
Β 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerAnamika Sarkar
Β 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
Β 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
Β 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
Β 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
Β 

Recently uploaded (20)

β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCRβ˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
Β 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Β 
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
πŸ”9953056974πŸ”!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Β 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Β 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Β 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Β 
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ο»ΏTube Exchanger
Β 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
Β 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Β 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
Β 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
Β 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Β 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
Β 

Face verification and recognition

  • 1. Face Verification and Recognition Nemish Kanwar Associate Consultant- Machine Learning
  • 2. Face Verification v/s Face Recognition Face Verification β€’ Checking if the person is the one who he claims to be 01 Face Recognition β€’ Who is this person? β€’ Outputs ID, if person in database 02
  • 3. Similarity function β€’ Degree of difference between images 𝑓 π‘₯ = same, 𝑑 π‘–π‘šπ‘”1, π‘–π‘šπ‘”2 < 𝜏 different, 𝑑 π‘–π‘šπ‘”1, π‘–π‘šπ‘”2 β‰₯ 𝜏
  • 4. Siamese Network β€’ Mapping from image to Euclidian Space (encoding) β€’ The encoding used for face verification, recognition and Clustering 128
  • 5. β€’ An Image is converted to an encoding of size 128 β€’ Images compared using encodings of two faces SN SN 𝑑 π‘₯ 𝑖 , π‘₯ 𝑗 = f π‘₯ 𝑖 βˆ’ f π‘₯ 𝑗 2 𝑦 = 1 𝑖𝑓 𝑑 < 𝜏 𝑒𝑙𝑠𝑒 0
  • 7. Triplet Loss Anchor Image Positive Image Negative Image 𝑑 𝐴, 𝑃 + 𝜢 ≀ 𝑑 𝐴, 𝑁 𝛼 = margin 𝑑 𝐴, 𝑃 βˆ’ 𝑑 𝐴, 𝑁 + 𝛼 ≀ 0 𝐿 𝐴, 𝑃, 𝑁 = max(𝑑 𝐴, 𝑃 βˆ’ 𝑑 𝐴, 𝑁 + 𝛼, 0) Cost, 𝐽 = 𝑖=1 π‘š 𝐿(𝐴𝑖 , 𝑃 𝑖 , 𝑁 𝑖 )
  • 9. Face Recognition β€’ Extension of Face Verification β€’ Each identity has there corresponding encoding pre-saved β€’ Incoming image is compared with each encoding β€’ Output: The least distance if less than threshold
  • 10. Dog breed not found in Database
  • 11. Address to slides Address to slides https://www.slideshare.net/nemishkanwar5/face-verification-and- recognition Find me on Linkedin @ https://www.linkedin.com/in/nemishkanwar/