Requirements:
- Visual Studio Express (possibly)
- Python=3.8
Links:
- Software Installation (Mac on Apple Metal M1) <-- preferred mode (Thanks to Jeff Heaton)
- Installing dlib on macos for python
Steps:
- Follow the steps in the 1st link above to install
tensorflow
,metal
,keras
- Install dlib:
pip install dlib
- Install face_recognition:
pip install face_recognition
- Install opencv-python:
pip install opencv-python
- Install opencv-contrib-python:
pip install opencv-contrib-python
- Install tesseract:
brew install tesseract
- Install ffmpeg:
brew install ffmpeg
- install miniconda from here
- create new environment:
conda create -n face_recognition python=3.8
- activate environment:
conda activate face_recognition
- install cmake:
sudo apt install cmake
- install build-essentials etc:
sudo apt install build-essential cmake pkg-config
- download and build dlib from this link and following this instructions
- install cv2:
pip install opencv-python
- install face_recognition:
pip install face_recognition
- install tensorflow:
conda install tensorflow
- install keras:
conda install keras