2020-07-20 17:36:08 +03:00
# Overview of Inference Engine Python* API {#openvino_inference_engine_ie_bridges_python_docs_api_overview}
2018-10-16 13:45:03 +03:00
2020-02-11 22:48:49 +03:00
This API provides a simplified interface for Inference Engine functionality that allows you to:
2018-10-16 13:45:03 +03:00
2020-02-11 22:48:49 +03:00
* Handle the models
* Load and configure Inference Engine plugins based on device names
* Perform inference in synchronous and asynchronous modes with arbitrary number of infer requests (the number of infer requests may be limited by target device capabilities)
2018-10-16 13:45:03 +03:00
## Supported OSes
2021-03-02 21:33:25 +03:00
Inference Engine Python\* API is supported on Ubuntu\* 18.04 and 20.04, CentOS\* 7.3 OSes, Raspbian\* 9, Windows\* 10
2020-02-11 22:48:49 +03:00
and macOS\* 10.x.
2018-10-16 13:45:03 +03:00
Supported Python* versions:
2019-08-09 19:02:42 +03:00
| Operating System | Supported Python\* versions: |
|:----- | :----- |
2021-03-02 21:33:25 +03:00
| Ubuntu\* 18.04 | 3.6, 3.7 |
| Ubuntu\* 20.04 | 3.6, 3.7, 3.8 |
| Windows\* 10 | 3.6, 3.7, 3.8 |
| CentOS\* 7.3 | 3.6, 3.7 |
| macOS\* 10.x | 3.6, 3.7 |
| Raspbian\* 9 | 3.6, 3.7 |
2019-08-09 19:02:42 +03:00
2018-10-16 13:45:03 +03:00
2020-02-11 22:48:49 +03:00
## Set Up the Environment
2018-10-16 13:45:03 +03:00
To configure the environment for the Inference Engine Python\* API, run:
2021-03-02 21:33:25 +03:00
* On Ubuntu\* 18.04 or 20.04: `source <INSTALL_DIR>/bin/setupvars.sh .`
2020-02-11 22:48:49 +03:00
* On CentOS\* 7.4: `source <INSTALL_DIR>/bin/setupvars.sh .`
* On macOS\* 10.x: `source <INSTALL_DIR>/bin/setupvars.sh .`
* On Raspbian\* 9,: `source <INSTALL_DIR>/bin/setupvars.sh .`
2020-04-13 21:17:23 +03:00
* On Windows\* 10: `call <INSTALL_DIR>\bin\setupvars.bat`
2019-04-12 18:25:53 +03:00
2018-10-16 13:45:03 +03:00
The script automatically detects latest installed Python\* version and configures required environment if the version is supported.
2020-04-13 21:17:23 +03:00
If you want to use certain version of Python\*, set the environment variable `PYTHONPATH=<INSTALL_DIR>/python/<desired_python_version>`
2018-10-16 13:45:03 +03:00
after running the environment configuration script.
2019-04-12 18:25:53 +03:00
2020-02-11 22:48:49 +03:00
## API Reference
2020-04-27 21:21:29 +03:00
For the complete API Reference, see [Inference Engine Python* API Reference ](ie_python_api/annotated.html )