Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Computer Vision Projects with OpenCV and Python 3

You're reading from   Computer Vision Projects with OpenCV and Python 3 Six end-to-end projects built using machine learning with OpenCV, Python, and TensorFlow

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781789954555
Length 182 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Matthew Rever Matthew Rever
Author Profile Icon Matthew Rever
Matthew Rever
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Setting Up an Anaconda Environment FREE CHAPTER 2. Image Captioning with TensorFlow 3. Reading License Plates with OpenCV 4. Human Pose Estimation with TensorFlow 5. Handwritten Digit Recognition with scikit-learn and TensorFlow 6. Facial Feature Tracking and Classification with dlib 7. Deep Learning Image Classification with TensorFlow 8. Other Books You May Enjoy

Facial recognition

We're going to see how we can perform facial recognition with dlib with a relatively small amount of code. Facial recognition here means that we're going to look at an image and see whether or not this person is the same as the person in a different image. We're going to keep it simple here and just compare two faces to see whether they're the same, but this can easily be generalized, as we'll see later.

Here, we're going to do something similar to the first example, where we're going to prompt the user to open two files, each with a face that is going to be compared to another. For this, we are going to use some faces from Labeled Faces in the Wild (LFW). It's a nice database that has thousands of faces from various celebrities. You can download the entire set from http://vis-www.cs.umass.edu/lfw/ and get a whole lot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image