Update integrate_with_your_application.md (#11833)

This commit is contained in:
Karol Blaszczak authored and GitHub committed 2022-06-24 13:26:06 +02:00
1 parent f19b4c7ae4
commit 23b0ba6898
1 file changed
+4 -6
@@ -13,7 +13,8 @@
@endsphinxdirective
Following these steps, you can implement a typical OpenVINO™ Runtime inference pipeline in your application. Before proceeding, make sure you have [installed OpenVINO Runtime](../install_guides/installing-openvino-runtime.md).
Following these steps, you can implement a typical OpenVINO™ Runtime inference pipeline in your application. Before proceeding, make sure you have [installed OpenVINO Runtime](../install_guides/installing-openvino-runtime.md) and set environment variables (run `<INSTALL_DIR>/setupvars.sh` for Linux or `setupvars.bat` for Windows, otherwise, the `OpenVINO_DIR` variable won't be configured properly to pass `find_package` calls).
![ie_api_use_cpp]
@@ -222,6 +223,8 @@ Go over the output tensors and process the inference results.
This step may differ for different projects. In this example, a C++ application is used, together with CMake for project configuration.
For details on additional CMake build options, refer to the [CMake page](https://cmake.org/cmake/help/latest/manual/cmake.1.html#manual:cmake(1)).
### Create a structure for the project:
``` sh
project/
@@ -245,11 +248,6 @@ cmake ../project
cmake --build .
```
> **NOTE**: Make sure you set environment variables first by running `<INSTALL_DIR>/setupvars.sh` (or `setupvars.bat` for Windows). Otherwise the `OpenVINO_DIR` variable won't be configured properly to pass `find_package` calls.
You can also specify additional build options (e.g. to build CMake project on Windows with a specific build tools). Please refer to the [CMake page](https://cmake.org/cmake/help/latest/manual/cmake.1.html#manual:cmake(1)) for details.
## Additional Resources
- See the [OpenVINO Samples](Samples_Overview.md) page or the [Open Model Zoo Demos](https://docs.openvino.ai/latest/omz_demos.html) page for specific examples of how OpenVINO pipelines are implemented for applications like image classification, text prediction, and many others.