Courtesy: This is not by work. But I had just "integrated" lot of open source platforms and had tried to take cues from man of wisdom !
This is classic problem in the area of Machine Learning / Deep Learning.
The problem is to identify human faces from a picture which is called Face Detection and Face Recognition is a further step ahead
to identify the faces in the picture after comparing it to a existing database of facial features.
Here I am explaining the step by step process involved in creating a program which will help turn your laptop running Ubuntu Linux
into a facial recognition box. After installing the Ubuntu Linux LTS 16.06 or later follow these steps one by one in the terminal.
sudo apt install git cmake python-opencv python-pip django
sudo apt install libboost-all-dev
git clone https://github.com/opencv/opencv.git
git checkout tags/3.2.0
git clone https://github.com/opencv/opencv_contrib
git checkout tags/3.2.0
cd opencv
mkdir build
cd build
cmake -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..
make -j5
pip install face_recognition
Once you have these program running , In these case I am using Intel Joule platform to generate a signal on a GPIO pen you can
avoid that part and implement an action based on your project.
No comments:
Post a Comment