This repository contains Python code that is capable of various face recognition functions.
This is my starting point in implementing Machine Learning algorithms for software solutions.
You can watch Traversy media's YouTube video that helped me get a kick start on facial recognition using machine learning here
ageitgrey's face_recognition repo
Traversy media's face_recognition repo
I found myself wasting many hours trying to find a solution to get dlib to install properly using pip. Although I am aware that installing the Anaconda environment would ease the tedious process, I prefer not to install Anaconda as it takes up a large amount of unnecessary storage space. To make things easy for you, I've noted down a few steps that I followed to get the dlib library to get completely installed on Windows.
- Open pipenv virtual environment in the terminal
- Run "pip install cmake" in the terminal; to install cmake
- Install Microsoft Build tools inorder to install C++ compiler
- Run "pip install dlib" in the terminal
- Run "pip install face_recognition" in the terminal
You're good to go now!
You can even delete the Microsoft Build tools applications hereafter.
The dlib library worked only with Python when this method was followed.
If you want to get the face_recognition library to work with C or C++, try to do so after installing MS Visual Studio.
Checkout ageitgrey's installation guide, to get this face_recognition library working on other platforms here
What is the difference between venv, pyvenv, pyenv, virtualenv, virtualenvwrapper, pipenv, etc?