Warning, /graphics/digikam/core/tests/facesengine/scripts/README is written in an unsupported language. File is not indexed.

0001 These are instructions to test facerec_dnn.py
0002 
0003 Required packages and dependencies:
0004     1. clone openface folder from github (https://github.com/cmusatyalab/openface)
0005     2. install dlib for python with: pip install dlib
0006     3. download pretrained model (nn4.small2) to openface/models/openface, from this link: https://cmusatyalab.github.io/openface/models-and-accuracies/
0007     4. download shape_predictor_68_face_landmarks.dat from http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2, unzip and move to openface/models/dlib
0008     5. download SSD model for face detector from this github (https://github.com/weiliu89/caffe/tree/ssd#models), first link to 07+12: SSD300 and unzip
0009     6. copy and paste facerec_dnn.py to folder openface/demos
0010     7. change sys.path.append at line 18 to "path/to/openface" on your machine
0011 
0012 How to run:
0013     > ./facerec_dnn.py -d <path_to_orl_dataset> -m <path_to_nn4_model> -dt <path_to_folder_contain_deploy.prototxt_of_ssd_detector> -o <number_of_person_to_test> -s <number_of_image_of_each_person_to_process> -r <ratio_of_train/number_of_processed_images>
0014