Facial AI

1. install "Anaconda3-2019.03-Windows-x86_64.exe"

- add ... to "path"

2. open anaconda power shell cmd and type:

conda update conda

 conda update anaconda
 conda install -c conda-forge dlib

*** waiting until see "...- Validating: ok\n'"

3. test import

 conda list

see dlib and version of it


python

>>>import dlib

 >>>

*** OKKK!

4. install dlib ".whl" file

go to dir of file "dlib-19.7.0-cp36-cp36m-win_amd64.whl" and install it by:

 python -m pip install dlib-19.7.0-cp36-cp36m-win_amd64.whl

see "Processing c:\dlib-19.17\dlib-19.7.0-cp36-cp36m-win_amd64.whl

Installing collected packages: dlib

Successfully installed dlib-19.7.0" is OK!!!

5. install "face_recognition" by type:

 python -m pip install face_recognition

***test import

python

 >>>import dlib
 >>>import fce_recognition
 >>>

*** OKKK!

6. install opencv for python

 pip install opencv-contrib-python

or

download from "https://files.pythonhosted.org/packages/49/64/ab513c3e6e06fc0aae00f97c4e617971a3730fc44988499694ce64041bde/opencv_contrib_python-4.1.0.25-cp36-cp36m-win_amd64.whl"

and cd to dir and install it by

 python -m pip install opencv_contrib_python-4.1.0.25-cp36-cp36m-win_amd64.whl

*** the cmd is admin mode

--------------------------------------------------------------------------

++++++++ If error

5.1 if freeze to "Collecting face-recognition-models>=0.3.0 (from face_recognition)"

to do:

Downloading face-recognition-models from

https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz

extract it --> cd to dir and install by type:

 python setup.py install

5.2 install "face_recognition" by type:


 python -m pip install face_recognition


***test import

___________________________________________________________________