From fbc7a4a710c24def8ab199926a7da90a0394b87d Mon Sep 17 00:00:00 2001 From: Alexey Suhov Date: Fri, 14 Dec 2018 21:26:38 +0300 Subject: updated readme files (#54) --- inference-engine/README.md | 4 +++- inference-engine/ie_bridges/python/README.md | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/inference-engine/README.md b/inference-engine/README.md index 1c8dc67e5..cfe61ff8b 100644 --- a/inference-engine/README.md +++ b/inference-engine/README.md @@ -59,7 +59,7 @@ The software was validated on: 5. In the `build` directory, run `cmake` to fetch project dependencies and generate a Visual Studio solution: ```sh cd build -cmake -G "Visual Studio 15 2017 Win64" -T "Intel C++ Compiler 18.0" -DOS_FOLDER=ON ^ +cmake -G "Visual Studio 15 2017 Win64" -T "Intel C++ Compiler 18.0" ^ -DCMAKE_BUILD_TYPE=Release ^ -DICCLIB="C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\compiler\lib" .. ``` @@ -69,5 +69,7 @@ cmake -G "Visual Studio 15 2017 Win64" -T "Intel C++ Compiler 18.0" -DOS_FOLDER= 6. Build generated solution in Visual Studio 2017 or run `cmake --build . --config Release` to build from the command line. +Before running the samples on Microsoft\* Windows\*, please add path to OpenMP library (/inference-engine/temp/omp/lib) and OpenCV libraries (/inference-engine/temp/opencv_4.0.0/bin) to the %PATH% environment variable. + --- \* Other names and brands may be claimed as the property of others. diff --git a/inference-engine/ie_bridges/python/README.md b/inference-engine/ie_bridges/python/README.md index d758aa063..b9704fa25 100644 --- a/inference-engine/ie_bridges/python/README.md +++ b/inference-engine/ie_bridges/python/README.md @@ -36,4 +36,11 @@ Then build generated solution INFERENCE_ENGINE_DRIVER.sln using Microsoft\* Visu make -j16 ``` -Note: -DInferenceEngine_DIR parameter is needed to specify the folder with generated make files or Visual Studio solution used to build Inference Engine (see readme file in the inference-engine root folder). \ No newline at end of file +Note: `-DInferenceEngine_DIR` parameter is needed to specify the folder with generated make files or Visual Studio solution used to build Inference Engine (see readme file in the inference-engine root folder). + +Before running the Python samples, please manually replicate OpenVINO folders structure with Python modules: +- create an empty folder `openvino/inference_engine` +- move built `ie_api.so` and `__init__.py` files from the `/inference_engine` to `openvino/inference_engine` folder +- create an empty `__init__.py` file in the `openvino` folder +- add the root folder where `openvino` folder is located to the PYTHONPATH environment variable. +- add the folder with Inference Engine libraries to LD_LIBRARY_PATH variable on Linux (or PATH on Windows). -- cgit v1.2.3