Skip to content

Instantly share code, notes, and snippets.

@tomoto
Created December 31, 2018 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomoto/987b5f59f7156ab1fdeb5297f2347063 to your computer and use it in GitHub Desktop.
Save tomoto/987b5f59f7156ab1fdeb5297f2347063 to your computer and use it in GitHub Desktop.
Face Recognition Test
device=CPU fpmode=FP32 ./face.sh $*
device=MYRIAD fpmode=FP16 ./face.sh $*
bin/interactive_face_detection_demo \
-d ${device} -m intel_models/face-detection-retail-0004/${fpmode}/face-detection-retail-0004.xml \
-d_ag ${device} -m_ag intel_models/age-gender-recognition-retail-0013/${fpmode}/age-gender-recognition-retail-0013.xml \
-d_em ${device} -m_em intel_models/emotions-recognition-retail-0003/${fpmode}/emotions-recognition-retail-0003.xml \
-d_hp ${device} -m_hp intel_models/head-pose-estimation-adas-0001/${fpmode}/head-pose-estimation-adas-0001.xml \
$*
# Create symlinks for convenience
ln -s $HOME/inference_engine_samples/intel64/Release/ bin
ln -s /opt/intel/computer_vision_sdk/deployment_tools/intel_models/ intel_models
ln -s /opt/intel/computer_vision_sdk sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment