Fixes for Object Detection SSD samples docs (C++ and Python) (#4286)

* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* Fixes for Object Detection SSD samples docs (C++ and Python)

* fixes from code review

* fixes from code review
This commit is contained in:
Maksim Makridin 2021-02-11 17:51:53 +03:00 committed by GitHub
parent 08ac8d9af9
commit f8d36c55a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -61,9 +61,9 @@ To run the sample, you can use RMNet_SSD or other object-detection models. You c
> >
> The sample accepts models in ONNX format (.onnx) that do not require preprocessing. > The sample accepts models in ONNX format (.onnx) that do not require preprocessing.
You can do inference of an image using a trained RMNet_SSD network on FPGA with fallback to CPU using the following command: You can do inference of an image using the [person detection SSD model](@ref omz_models_intel_person_detection_retail_0013_description_person_detection_retail_0013) from the Open Model Zoo on CPU using the following command:
``` ```
python3 object_detection_sample_ssd.py -i <path_to_image>/cat.bmp -m <path_to_model>/alexnet_fp32.xml -nt 5 -d HETERO:FPGA,CPU python3 object_detection_sample_ssd.py -i <path_to_image>/cat.bmp -m <path_to_model>/person-detection-retail-0013.xml -d CPU
``` ```
## Sample Output ## Sample Output

View File

@ -45,11 +45,11 @@ To run the sample, you can use [public](@ref omz_models_public_index) or [Intel'
For example, to do inference on a CPU with the OpenVINO&trade; toolkit person detection SSD models, run one of the following commands: For example, to do inference on a CPU with the OpenVINO&trade; toolkit person detection SSD models, run one of the following commands:
```sh ```sh
./object_detection_sample_ssd -m <path_to_model>person-detection-retail-0013.xml -i <path_to_image>/inputImage.bmp -d CPU ./object_detection_sample_ssd -m <path_to_model>/person-detection-retail-0013.xml -i <path_to_image>/inputImage.bmp -d CPU
``` ```
or or
```sh ```sh
./object_detection_sample_ssd -m <path_to_model>person-detection-retail-0002.xml -i <path_to_image>/inputImage.jpg -d CPU ./object_detection_sample_ssd -m <path_to_model>/person-detection-retail-0002.xml -i <path_to_image>/inputImage.jpg -d CPU
``` ```
## Sample Output ## Sample Output