How to hit the gold?

The ultimate question. It is never easy to answer. If it is something simple, the sport won’t be fun. Accuracy is the key. To solve the problem we need to know what are the tasks an archer needs to…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Face Recognition for Dummies

How my laptop finally recognizes my face.

Libraries

To perform facial recognition via Python, we need to install:

To install openCV, we simply just install it in command line with the command:
!pip install opencv-contrib-python

To install dlib, we would have to have Cmake and a working C++ compiler installed for this to work. We can install Cmake by homebrew in command line:

Performing Facial Recognition

Import all necessary libraries

Loading your webcam

I then feed a photo of myself as input for facial recognition:

Input

I then give myself a name, in which this will appear once I set up face frames.

Code to process face detection through webcam

Then, you will end up with this!

You can also recognize multiple faces by inputing more photos and making a list of encoded faces and names accordingly:

Just follow these simple steps, you will be able to perform your own facial recognition.

Add a comment

Related posts:

User Interface of a Website Pricing Pages.

We usually spent so much attention on landing pages and almost forget about other important pages, like the pricing page. The design of the page is as matters as the pricing strategy, so we need to…

Saving Money Through Outsourcing HR

Have you ever considered outsourcing your HR department? Perhaps you have never heard of this possibility. If your business is new is upcoming then this possibility might not have been in your…

K2 LIQUID SPRAY

BUY K2 LIQUID SPRAY ONLINE. “K2 LIQUID SPR” is published by Donaldmichelle.