1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3 @page dwx_image_pyramid_pva_sample Image Pyramid PVA Sample
6 @section dwx_image_pyramid_pva_description Description
8 The Image Pyramid PVA sample demonstrates the image pyramid creation pipeline on hardware units:
9 - PVA (Programmable Vision Accelerator).
11 The Image Pyramid PVA sample accepts RAW videos, h264 videos, or live camera input data from an AR0231 (revision >= 4) sensor. It then applies gaussain based scaling algorithm to create images for specified number of levels.
13 @section dwx_image_pyramid_pva_sample_running Running the Sample
15 The Image Pyramid pva sample, sample_image_pyramid_pva, accepts the following optional parameters. If none are specified, it performs detections on a supplied pre-recorded video.
17 ./sample_image_pyramid_pva --input-type=[video|camera]
18 --video=[path/to/video]
19 --camera-type=[camera]
20 --camera-group=[a|b|c|d]
21 --camera-index=[0|1|2|3]
27 --input-type=[video|camera]
28 Defines if the input is from live camera or from a recorded video.
29 Live camera is supported only on NVIDIA DRIVE(tm) platforms.
30 It is not supported on Linux (x86 architecture) host systems.
33 --video=[path/to/video]
34 Specifies the absolute or relative path of a raw or h264 recording.
35 Only applicable if --input-type=video
36 Default value: path/to/data/samples/stereo/left_1.h264
38 --camera-type=[camera]
39 Specifies a supported AR0231 `RCCB` sensor.
40 Only applicable if --input-type=camera.
41 Default value: ar0231-rccb-bae-sf3324
43 --camera-group=[a|b|c]
44 Is the group where the camera is connected to.
45 Only applicable if --input-type=camera.
48 --camera-index=[0|1|2|3]
49 Indicates the camera index on the given port.
53 Indicates the number of levels in a pyramid.
57 Indicates on which PVA engine the corresponding stage of the pipeline is to be executed.
60 @subsection dwx_image_pyramid_pva_sample_examples Examples
62 ### To run the sample on a video
64 ./sample_image_pyramid_pva --input-type=video --video=<video file>
66 ### To run the sample on a camera on NVIDIA DRIVE platforms
68 ./sample_image_pyramid_pva --input-type=camera --camera-type=<camera type> --camera-group=<camera group> --camera-index=<camera idx on camera group>
70 ### To run the sample on non-default engines
72 ./sample_image_pyramid_pva --pyrLevel=3 --pvaNo=1
75 @subsection dwx_image_pyramid_pva_sample_more Additional information
77 For more information, see @ref imageprocessing_filtering_mainsection.