The face_detection_retail_0004 network can be used for face detection. This model can be used to align faces for use with face recognition.
This sample utilizes the OpenVINO Inference Engine from the OpenVINO Deep Learning Development Toolkit and was tested with the 2020.1 release.
The provided Makefile does the following
- Downloads the IR files from the Open Model Zoo
- Takes an image and runs an inference on the face-detection-retail-0004 model.
The sample can also be used to crop images and write them to file.
- name: ‘input’, shape: [1x3x300x300], Expected color order is BGR.
- name: ‘detection_out’, shape: [1, 1, N, 7] - where N is the number of detected bounding boxes. For each detection, the description has the format: [image_id, label, conf, x_min, y_min, x_max, y_max].
Provided Makefile describes various targets that help with the above mentioned tasks.
Runs a sample application with the network.
Shows makefile possible targets and brief descriptions.
Makes the follow items: deps, data.
Uses the network description and the trained weights files to generate an IR (intermediate representation) format file. This file is later loaded on the Neural Compute Stick where the inferences on the network can be executed.
Checks required packages that aren’t installed as part of the OpenVINO installation.
Uninstalls requirements that were installed by the sample program.
Removes all the temporary and target files that are created by the Makefile.