Mais conteúdo relacionado
Semelhante a Face detection myriad_批次檔 (20)
Face detection myriad_批次檔
- 1. @echo off
SET "DEMO_DIR=%~dp0"
SET "ROOT_DIR=C:
Intelcomputer_vision_sdk_2018.3.343deployment_tools"
if exist "%ROOT_DIR%..binsetupvars.bat" call "%ROOT_DIR%..
binsetupvars.bat"
SET "INTEL_MODELS=C:
Intelcomputer_vision_sdk_2018.3.343deployment_toolsintel_models"
echo.
echo ###############^|^| Run Inference Engine Interactive face
detection sample ^|^|###############
echo ###############^|^| Run Face detection on Movidius
^|^|###############
echo ###############^|^| Run Age Gender on CPU
^|^|###############
echo ###############^|^| Run Head Pose Estimation on GPU
^|^|###############
echo.
timeout 3
if exist "%ROOT_DIR%..opencvx64vc14bin" set "PATH=%PATH%;
%ROOT_DIR%..opencvx64vc14bin"
cd "%ROOT_DIR%inference_enginebinintel64Debug"
echo interactive_face_detection_sample.exe -d GPU -d_ag CPU -d_hp
MYRIAD -m "%INTEL_MODELS%face-detection-retail-0004FP16face-
detection-retail-0004.xml" -m_ag "%INTEL_MODELS%age-gender-
recognition-retail-0013FP32age-gender-recognition-retail-0013.xml"
-m_hp "%INTEL_MODELS%head-pose-estimation-adas-0001FP16head-pose-
estimation-adas-0001.xml"
interactive_face_detection_sample.exe -d GPU -d_ag MYRIAD -d_hp
MYRIAD -n_ag 1 -n_hp 1 -m "%INTEL_MODELS%face-detection-
retail-0004FP16face-detection-retail-0004.xml" -m_ag
"%INTEL_MODELS%age-gender-recognition-retail-0013FP16age-gender-
recognition-retail-0013.xml" -m_hp "%INTEL_MODELS%head-pose-
estimation-adas-0001FP16head-pose-estimation-adas-0001.xml"
if ERRORLEVEL 1 GOTO errorHandling
echo.
echo ###############^|^| Interactive face detection sample completed
successfully ^|^|###############
echo
pause
cls
cd "%DEMO_DIR%"
goto :eof
:errorHandling
echo Error
pause
cd "%DEMO_DIR%"