Build a Python Facial Recognition App with Tensorflow and Kivy

Share
Nicholas Renotte
Published at : 12 Dec 2021
7670 views
353
2

Ever wanted to implement facial recognition or verification into your application?

In this series you'll learn how to build a deep facial recognition application to authenticate into an application. You'll start off by building a model using Deep Learning with Tensorflow which replicates what is shown in the paper titled Siamese Neural Networks for One-shot Image Recognition. Once that's all trained you'll be able to integrate it into a Kivy app and actually authenticate!

Get the code: https://github.com/nicknochnack/FaceRecognition
Final App: https://github.com/nicknochnack/FaceIDApp

Links
Paper: https://www.cs.cmu.edu/~rsalakhu/papers/oneshot1.pdf
Labelled Faces in the Wild: http://vis-www.cs.umass.edu/lfw/

Chapters:
0:00 - Start
0:43 - Setting Up Tensorflow and Keras for Deep Learning
24:35 - Collecting Image Samples and Using the LFW Dataset
1:08:06 - Loading Images into the Tensorflow Dataloader
1:51:25 - Building a Siamese Neural Network
2:38:55 - Building a Custom Training Loop with tf.GradientTape
3:10:00 - Testing the Model on Images
3:40:37 - Integrating with OpenCV
4:18:40 - Building the Kivy App and Integrating with Tensorflow

LinkedIn: https://bit.ly/324Epgo
Facebook: https://bit.ly/3mB1sZD
GitHub: https://bit.ly/3mDJllD
Patreon: https://bit.ly/2OCn3UW
Join the Discussion on Discord: https://bit.ly/3dQiZsV

Happy coding!
Nick

P.s. Let me know how you go and drop a comment if you need a hand!
face recognitionpython kivy tutorialfacial recognition

Surf Fishing: Why Use a Conventional Fishing Reel Vs Spinning Reel?

Surf Fishing: Why Use a Conventional Fishing Reel Vs Spinning Reel?

Alvisa mes Brunos e Hysenit, Juli heq mikrofonin, Ada shpërthen në lot, gjithçka ndodh sot në Prime

Alvisa mes Brunos e Hysenit, Juli heq mikrofonin, Ada shpërthen në lot, gjithçka ndodh sot në Prime

Woman Stabs an Intruder: Her Husband | Chicago Med

Woman Stabs an Intruder: Her Husband | Chicago Med

Should Kakao Delay the 2 December AA/AA:U Fresh Start?

Should Kakao Delay the 2 December AA/AA:U Fresh Start?

Why did no one tell us it could be this EASY #25

Why did no one tell us it could be this EASY #25

18+ PICK A CARD 😍 💖 WHAT ARE THEY LIKE IN BED?  + THEIR SECRET SEXUAL DESIRES 😍 💖 Tarot Reading 😘

18+ PICK A CARD 😍 💖 WHAT ARE THEY LIKE IN BED? + THEIR SECRET SEXUAL DESIRES 😍 💖 Tarot Reading 😘

荷物をおろそう

荷物をおろそう

10 Genius Dollar Store organization and thrift secrets! (Coffee Bar Edition! ☕️)

10 Genius Dollar Store organization and thrift secrets! (Coffee Bar Edition! ☕️)

Household Life Hacks That Are Really Useful

Household Life Hacks That Are Really Useful

IN THE DARK | UNEARTHLY COSMETICS

IN THE DARK | UNEARTHLY COSMETICS

(Sickle Of Sorrow) The Roblox Ssj Rosé Goku Black Remastered Experience

(Sickle Of Sorrow) The Roblox Ssj Rosé Goku Black Remastered Experience

I was determined to make this.

I was determined to make this.

HOW GOOD ARE YOUR EYES #194 l Find The Odd Emoji Out l Emoji Puzzle Quiz

HOW GOOD ARE YOUR EYES #194 l Find The Odd Emoji Out l Emoji Puzzle Quiz

Global Warming’s Island Effect, Elon’s Twitter Poll Disaster & Biden’s Fart | The Daily Show

Global Warming’s Island Effect, Elon’s Twitter Poll Disaster & Biden’s Fart | The Daily Show

Lobo, Air Supply, Dan Hill, Rod Stewart, Elton John, Lionel Richie - Soft Rock Hits 60s 70s 80s 90s

Lobo, Air Supply, Dan Hill, Rod Stewart, Elton John, Lionel Richie - Soft Rock Hits 60s 70s 80s 90s

30+ Optical Illusions That Will Change Your Sense Of Reality

30+ Optical Illusions That Will Change Your Sense Of Reality

thermal shutdown occur/overheating/material,thermal event,pc shutdown while playing game,fix a pc s

thermal shutdown occur/overheating/material,thermal event,pc shutdown while playing game,fix a pc s

ΠΩΣ ΝΑ ΞΕΦΥΓΩ ΑΠΟ ΤΟΝ ICE BOY ! ΓΕΙΤΟΝΑΣ ΣΤΗΝ ΠΟΛΗ ΜΑΣ MINECRAFT LET'S PLAY KRISTINA

ΠΩΣ ΝΑ ΞΕΦΥΓΩ ΑΠΟ ΤΟΝ ICE BOY ! ΓΕΙΤΟΝΑΣ ΣΤΗΝ ΠΟΛΗ ΜΑΣ MINECRAFT LET'S PLAY KRISTINA

NOUL TOTW ARATA SENZATIE RAU !! MBAPPE TOTW OMG - NE LOVESTE SOLARES IN SEARA ASTA ?!

NOUL TOTW ARATA SENZATIE RAU !! MBAPPE TOTW OMG - NE LOVESTE SOLARES IN SEARA ASTA ?!

Under Armour Curry Flow 9 vs Under Armour Curry Flow 8!

Under Armour Curry Flow 9 vs Under Armour Curry Flow 8!

Why it’s important to specialize in cybersecurity | Cyber Work Podcast

Why it’s important to specialize in cybersecurity | Cyber Work Podcast

My Top 3 Extended Warranty Companies | Used Cars | New Dealers

My Top 3 Extended Warranty Companies | Used Cars | New Dealers

You're Looking At Country - Loretta Lynn - Lyrics

You're Looking At Country - Loretta Lynn - Lyrics

What's The Smallest Amount Of Power You've Seen Go To Someones Head? (r/AskReddit)

What's The Smallest Amount Of Power You've Seen Go To Someones Head? (r/AskReddit)

What happens when you take your life | True testimonies

What happens when you take your life | True testimonies

Truck & Industrial Insider Reports (Dec. 2021)

Truck & Industrial Insider Reports (Dec. 2021)

7 Amazon Work From Home Jobs To Try in 2021 (For Beginners)

7 Amazon Work From Home Jobs To Try in 2021 (For Beginners)

Dear Star Stable...

Dear Star Stable...

what will happend?

what will happend?

per se - 孤獨之塔 (Official MV)

per se - 孤獨之塔 (Official MV)

के प‍ैसा रुखमा फल्छ? ||  yutpatang np || world first tree which give money

के प‍ैसा रुखमा फल्छ? || yutpatang np || world first tree which give money

Steelers' Najee Harris on his work ethic and the idea that he's over used

Steelers' Najee Harris on his work ethic and the idea that he's over used

Munna Ikee - Think About (Official Music Video) Dir. @Digital Reel

Munna Ikee - Think About (Official Music Video) Dir. @Digital Reel

Tips and Tricks Microsoft solitaire collection is Available in Windows 10 and also Windows 8 1

Tips and Tricks Microsoft solitaire collection is Available in Windows 10 and also Windows 8 1

ADVISE.EXE | ADVISE FUNNY MOMENTS | ŚMIESZNE KLIPY ADVISKA

ADVISE.EXE | ADVISE FUNNY MOMENTS | ŚMIESZNE KLIPY ADVISKA

Ford Engine is Dying! | Elusive Diagnosis!

Ford Engine is Dying! | Elusive Diagnosis!

Witchleaf - Drift and Blend

Witchleaf - Drift and Blend

90% Of Americans Concerned About Inflation, Used Car Prices Moon Shot, Buying Conditions Crushed

90% Of Americans Concerned About Inflation, Used Car Prices Moon Shot, Buying Conditions Crushed

The Japanese produced such a harvester that you will be shocked.

The Japanese produced such a harvester that you will be shocked.

Bad Omens - Said and Done (PSYRUS remix)

Bad Omens - Said and Done (PSYRUS remix)

How Can I Benefit From My Pain? | Worship Service | Rick Warren

How Can I Benefit From My Pain? | Worship Service | Rick Warren

The Very Same

The Very Same

Plangamy Official Video

Plangamy Official Video

Relatively Speaking by Alan Ayckbourn | BBC RADIO DRAMA

Relatively Speaking by Alan Ayckbourn | BBC RADIO DRAMA

massively

massively

From Tattooed Tomboy To Girly Glam | TRANSFORMED

From Tattooed Tomboy To Girly Glam | TRANSFORMED

Una fiscal contra el fraude al fisco | DW Documental

Una fiscal contra el fraude al fisco | DW Documental

Documentation Of Lithic Artifacts Using An Inexpensive Reflectance Transformation Imaging System

Documentation Of Lithic Artifacts Using An Inexpensive Reflectance Transformation Imaging System

Jessie J - Price Tag | Tropavibes Reggae Cover ( ft. Esay Kirstin Belanio) LIVE session

Jessie J - Price Tag | Tropavibes Reggae Cover ( ft. Esay Kirstin Belanio) LIVE session