Installing face recognition on RaspberryPi 3 Buster
I assume that you have Raspbian 10 (Buster) installed on your RPi3, and are able to get to the shell in your RPi3. Once you are at the shell, do the following to install face_recognition:
-
sudo apt-get update
-
sudo apt-get upgrade
-
sudo apt-get install build-essential cmake gfortran git wget curl graphicsmagick libgraphicsmagick1-dev libatlas-base-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 libjasper-dev libqtgui4 python3-pyqt5 libqt4-test libhdf5-dev libhdf5-serial-dev
-
pip3 install opencv-python==3.4.6.27