-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprep.sh
More file actions
25 lines (19 loc) · 1.47 KB
/
prep.sh
File metadata and controls
25 lines (19 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
if [ "$INTEL_OPENVINO_DIR" == "" ]; then
echo "OpenVINO environment variables are not set. Run following command to set it."
echo "source /opt/intel/openvino/bin/setupvars.sh"
exit 1
fi
# Copy image files and class label text data from OpenVINO installed directory
cp $INTEL_OPENVINO_DIR/deployment_tools/demo/car.png .
cp $INTEL_OPENVINO_DIR/deployment_tools/demo/car_1.bmp .
cp $INTEL_OPENVINO_DIR/deployment_tools/demo/squeezenet1.1.labels synset_words.txt
cp $INTEL_OPENVINO_DIR/deployment_tools/inference_engine/samples/python/voc_labels.txt .
# Download googlenet-v1 and mobilenet-ssd models with Model Downloader and Model Converter
python3 $INTEL_OPENVINO_DIR/deployment_tools/tools/model_downloader/downloader.py --name googlenet-v1,mobilenet-ssd
python3 $INTEL_OPENVINO_DIR/deployment_tools/tools/model_downloader/converter.py --name googlenet-v1,mobilenet-ssd --precisions FP16
# Download models for gaze estimation demo
python3 $INTEL_OPENVINO_DIR/deployment_tools/tools/model_downloader/downloader.py --name face-detection-adas-0001,head-pose-estimation-adas-0001,facial-landmarks-35-adas-0002,gaze-estimation-adas-0002
# Download models for object tracking demo
python "%INTEL_OPENVINO_DIR%\deployment_tools\tools\model_downloader\downloader.py" --name pedestrian-detection-adas-0002,person-reidentification-retail-0031,face-detection-adas-0001,face-reidentification-retail-0095
pip3 install matplotlib opencv-python numpy munkres scipy