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:
parent
08ac8d9af9
commit
f8d36c55a8
@ -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
|
||||||
|
@ -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™ toolkit person detection SSD models, run one of the following commands:
|
For example, to do inference on a CPU with the OpenVINO™ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user