Skip to content

Commit bf4894c

Browse files
authored
Merge pull request #3334 from anzhella-pankratova/remove_requirements_from_docs
Python demos documentation: remove info about requirements installation
2 parents e315f1d + 86b5e19 commit bf4894c

File tree

9 files changed

+8
-60
lines changed

9 files changed

+8
-60
lines changed

demos/3d_segmentation_demo/python/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ On startup, the demo reads command-line parameters and loads a model and images
1010
1111
## Preparing to Run
1212

13-
The demo dependencies should be installed before run. That can be achieved with the following command:
14-
15-
```sh
16-
python3 -mpip install --user -r <omz_dir>/demos/3d_segmentation_demo/python/requirements.txt
17-
```
18-
1913
For demo input image or video files, refer to the section **Media Files Available for Demos** in the [Open Model Zoo Demos Overview](../../README.md).
2014
The list of models supported by the demo is in `<omz_dir>/demos/3d_segmentation_demo/python/models.lst` file.
2115
This file can be used as a parameter for [Model Downloader](../../../tools/model_tools/README.md) and Converter to download and, if necessary, convert models to OpenVINO IR format (\*.xml + \*.bin).

demos/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,14 @@ cmake -A x64 <open_model_zoo>/demos
286286
cmake --build . --config Debug
287287
```
288288
289+
### <a name="python_requirements"></a>Dependencies for Python* Demos
290+
291+
The dependencies for Python demos must be installed before running. It can be achieved with the following command:
292+
293+
```sh
294+
python -mpip install --user -r <omz_dir>/demos/requirements.txt
295+
```
296+
289297
### <a name="python_model_api"></a>Python\* model API package
290298
291299
To run Python demo applications, you need to install the Python* Model API package. Refer to [Python* Model API documentation](common/python/openvino/model_zoo/model_api/README.md#installing-python*-model-api-package) to learn about its installation.

demos/face_recognition_demo/python/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,6 @@ visualized and displayed on the screen or written to the output file.
3131
3232
## Preparing to Run
3333

34-
### Installation and dependencies
35-
36-
The demo depends on:
37-
38-
* OpenVINO library (2021.4 or newer)
39-
* Python (any, which is supported by OpenVINO)
40-
* OpenCV (>=4.2.5)
41-
42-
To install all the required Python modules you can use:
43-
44-
``` sh
45-
pip install -r requirements.txt
46-
```
47-
4834
For demo input image or video files, refer to the section **Media Files Available for Demos** in the [Open Model Zoo Demos Overview](../../README.md).
4935
The list of models supported by the demo is in `<omz_dir>/demos/face_recognition_demo/python/models.lst` file.
5036
This file can be used as a parameter for [Model Downloader](../../../tools/model_tools/README.md) and Converter to download and, if necessary, convert models to OpenVINO IR format (\*.xml + \*.bin).

demos/formula_recognition_demo/python/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ Regardless of what mode is selected (interactive or non-interactive) the process
5656

5757
##### Requirements for rendering
5858

59-
Sympy python package is used for rendering. To install it, please, run:
60-
`pip install -r requirements.txt`
6159
Sympy package needs LaTeX system installed in the operating system.
6260
For Windows you can use [MiKTeX\*](https://miktex.org/) (just download and install it), for Ubuntu/MacOS you can use TeX Live\*:
6361
Ubuntu:

demos/handwritten_text_recognition_demo/python/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ omz_converter --list models.lst
3232

3333
> **NOTE**: Refer to the tables [Intel's Pre-Trained Models Device Support](../../../models/intel/device_support.md) and [Public Pre-Trained Models Device Support](../../../models/public/device_support.md) for the details on models inference support at different devices.
3434
35-
### Installation and Dependencies
36-
37-
The demo depends on:
38-
39-
* opencv-python
40-
* numpy
41-
42-
To install all the required Python modules you can use:
43-
44-
``` sh
45-
pip install -r requirements.txt
46-
```
47-
4835
## Running
4936

5037
Running the application with the `-h` option yields the following usage message:

demos/image_retrieval_demo/python/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ The demo workflow is the following:
3131

3232
The demo sample input videos and gallery images can be found in this [repository](https://github.com/19900531/test). An example of file listing gallery images can be found [here](https://github.com/openvinotoolkit/training_extensions/blob/089de2f24667329a58e8560ed4e01ef203e99def/misc/tensorflow_toolkit/image_retrieval/data/gallery/gallery.txt).
3333

34-
The demo dependencies should be installed before run. That can be achieved with the following command:
35-
36-
```sh
37-
python3 -mpip install --user -r <omz_dir>/demos/requirements.txt
38-
```
39-
4034
The list of models supported by the demo is in `<omz_dir>/demos/image_retrieval_demo/python/models.lst` file.
4135
This file can be used as a parameter for [Model Downloader](../../../tools/model_tools/README.md) and Converter to download and, if necessary, convert models to OpenVINO IR format (\*.xml + \*.bin).
4236

demos/multi_camera_multi_target_tracking_demo/python/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ and then for each detected object it extracts embeddings using re-identification
2626
2727
## Preparing to Run
2828

29-
### Installation of Dependencies
30-
31-
To install required dependencies, run
32-
33-
```bash
34-
pip3 install -r requirements.txt
35-
```
36-
3729
For demo input image or video files, refer to the section **Media Files Available for Demos** in the [Open Model Zoo Demos Overview](../../README.md).
3830
The list of models supported by the demo is in `<omz_dir>/demos/multi_camera_multi_target_tracking_demo/python/models.lst` file.
3931
This file can be used as a parameter for [Model Downloader](../../../tools/model_tools/README.md) and Converter to download and, if necessary, convert models to OpenVINO IR format (\*.xml + \*.bin).

demos/speech_recognition_deepspeech_demo/python/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ optional arguments:
106106
The typical command line for offline mode is:
107107

108108
```shell
109-
pip install -r requirements.txt
110-
source <openvino_dir>/bin/setupvars.sh
111-
112109
python3 speech_recognition_deepspeech_demo.py \
113110
-p mds08x_en \
114111
-m <path_to_model>/mozilla-deepspeech-0.8.2.xml \

demos/whiteboard_inpainting_demo/python/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ omz_converter --list models.lst
4949

5050
> **NOTE**: Refer to the tables [Intel's Pre-Trained Models Device Support](../../../models/intel/device_support.md) and [Public Pre-Trained Models Device Support](../../../models/public/device_support.md) for the details on models inference support at different devices.
5151
52-
### Install Dependencies
53-
54-
To install required dependencies, open a terminal and run the following:
55-
56-
```bash
57-
pip3 install -r requirements.txt
58-
```
59-
6052
## Running
6153

6254
Run the application with the `-h` option to see the following usage message:

0 commit comments

Comments
 (0)