Raspberry pi Face Recognition with OpenCV
Built using dlib's state-of-the-art face recognition built with deep learning. The model has an accuracy of 99.38%
Hardware
- Raspberry Pi 3B Board with SD card and accessories.
Software and Library
- Raspbien Stretch OS
- OpenCV 3.3.0
- Python 3.x
- dlib library 19.x
First You must install openCV on your raspberry pi.
If you don't have it see this 
Update and Libraries
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential \
    cmake \
    gfortran \
    git \
    wget \
    curl \
    graphicsmagick \
    libgraphicsmagick1-dev \
    libatlas-dev \
    libavcodec-dev \
    libavformat-dev \
    libboost-all-dev \
    libgtk2.0-dev \
    libjpeg-dev \
    liblapack-dev \
    libswscale-dev \
    pkg-config \
    python3-dev \
    python3-numpy \
    python3-pip \
    zip
sudo apt-get cleanInstall Dlib
Before Install dlib. 
Temporary enable a larger swap file size ( For the dlib compile won't fail )
sudo nano /etc/dphys-swapfile
< change CONF_SWAPSIZE=100 to CONF_SWAPSIZE=1024 and save / exit nano >
sudo /etc/init.d/dphys-swapfile restart
Now Install Dlib
git clone https://github.com/davisking/dlib.git
cd dlib
sudo python3 setup.py install --compiler-flags "-mfpu=neon"
sudo pip3 install face_recognition
Reference
https://github.com/ageitgey/face_recognition
http://dlib.net/
My Website
email : info@softpowergroup.net  ,amphancm@gmail.com  Tel .+6681-6452400




 





