Skip to content

Commit 595647a

Browse files
committed
Updated Readme
Signed-off-by: MaajidKhan <[email protected]>
1 parent c2d034d commit 595647a

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

c_cxx/OpenVINO_EP/Linux/squeezenet_classification/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
2. The sample involves presenting an image to the ONNX Runtime (RT), which uses the OpenVINO Execution Provider for ONNX RT to run inference on various Intel hardware devices like Intel CPU, GPU, VPU and more. The sample uses OpenCV for image processing and ONNX Runtime OpenVINO EP for inference. After the sample image is inferred, the terminal will output the predicted label classes in order of their confidence.
66

7-
The source code for this sample is available [here](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/c_cxx/OpenVINO_EP/squeezenet_classification).
7+
The source code for this sample is available [here](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/c_cxx/OpenVINO_EP/Linux/squeezenet_classification).
88

99
# How to build
1010

@@ -46,7 +46,7 @@ export OPENCL_INCS=path/to/your/directory/openvino/thirdparty/ocl/clhpp_headers/
4646
```
4747
g++ -o run_squeezenet squeezenet_cpp_app.cpp -I ../../../include/onnxruntime/core/session/ -I /opt/intel/openvino_2021.4.752/opencv/include/ -I /opt/intel/openvino_2021.4.752/opencv/lib/ -L ./ -lonnxruntime_providers_openvino -lonnxruntime_providers_shared -lonnxruntime -L /opt/intel/openvino_2021.4.752/opencv/lib/ -lopencv_imgcodecs -lopencv_dnn -lopencv_core -lopencv_imgproc
4848
```
49-
Note: This build command is using the opencv location from OpenVINO 2021.4.1 Release Installation. You can use any version of OpenVINO and change the location path accordingly.
49+
Note: This build command is using the opencv location from OpenVINO 2021.4.2 Release Installation. You can use any version of OpenVINO and change the location path accordingly.
5050
5151
- For the sample using IO Buffer Optimization feature
5252
Set the OpenCL lib and headers path. For example if you are setting the path from openvino source build folder, the paths will be like:

c_cxx/OpenVINO_EP/Windows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ git clone https://github.com/microsoft/onnxruntime-inference-examples.git
2828
Change your current directory to c_cxx\OpenVINO_EP\Windows, then run
2929
```bat
3030
mkdir build && cd build
31-
cmake .. -A x64 -T host=x64 -Donnxruntime_USE_OPENVINO=ON -DONNXRUNTIME_ROOTDIR=c:\dev\ort_install -DOPENCV_ROOTDIR="C:\Program Files (x86)\Intel\openvino_2021.4.689\opencv"
31+
cmake .. -A x64 -T host=x64 -Donnxruntime_USE_OPENVINO=ON -DONNXRUNTIME_ROOTDIR=c:\dev\ort_install -DOPENCV_ROOTDIR="C:\Program Files (x86)\Intel\openvino_2021.4.752\opencv"
3232
```
3333
Choose required opencv path. Skip the opencv flag if you don't want to build squeezenet sample.
3434
Build samples using msbuild either for Debug or Release configuration.

python/OpenVINO_EP/tiny_yolo_v2_object_detection/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ The source code for this sample is available [here](https://github.com/microsoft
2929
* use any sample video with objects as test input to this sample
3030
* Download the tinyYOLOv2 model from the ONNX Model Zoo
3131

32-
Note: For all the python package dependencies requirements, check 'requirements.txt' file in the sample directory
32+
Note: For all the python package dependencies requirements, check 'requirements.txt' file in the sample directory. You may also install these dependencies with:
33+
```bash
34+
pip3 install -r requirements.txt
35+
```
36+
3337

3438
## Running the ONNXRuntime OpenVINO Execution Provider sample
3539
```bash

python/OpenVINO_EP/yolov4_object_detection/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ The source code for this sample is available [here](https://github.com/microsoft
3636
* use any sample video with objects as test input to this sample
3737
* Download the tinyYOLOv2 model from the ONNX Model Zoo
3838
[Download Sample videos](https://github.com/intel-iot-devkit/sample-videos)
39-
Note: For all the python package dependencies requirements, check 'requirements.txt' file in the sample directory.
39+
40+
Note: For all the python package dependencies requirements, check 'requirements.txt' file in the sample directory. You may also install these dependencies with:
41+
```bash
42+
pip3 install -r requirements.txt
43+
```
4044

4145
## Running the ONNXRuntime OpenVINO Execution Provider sample
4246

0 commit comments

Comments
 (0)