DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

samples/imageprocessing/filtering/pyramid/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_image_pyramid_pva_sample Image Pyramid PVA Sample
4 @tableofcontents
5 
6 @section dwx_image_pyramid_pva_description Description
7 
8 The Image Pyramid PVA sample demonstrates the image pyramid creation pipeline on hardware units:
9 - PVA (Programmable Vision Accelerator).
10 
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.
12 
13 @section dwx_image_pyramid_pva_sample_running Running the Sample
14 
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.
16 
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]
22  --pyrLevel=[1-3]
23  --pvaNo=[0|1]
24 
25 Where:
26 
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.
31  Default value: video
32 
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
37 
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
42 
43  --camera-group=[a|b|c]
44  Is the group where the camera is connected to.
45  Only applicable if --input-type=camera.
46  Default value: a
47 
48  --camera-index=[0|1|2|3]
49  Indicates the camera index on the given port.
50  Default value: 0
51 
52  --pyrLevel=[1-3]
53  Indicates the number of levels in a pyramid.
54  Default value: 1
55 
56  --pvaNo=[0|1]
57  Indicates on which PVA engine the corresponding stage of the pipeline is to be executed.
58  Default value: 0
59 
60 @subsection dwx_image_pyramid_pva_sample_examples Examples
61 
62 ### To run the sample on a video
63 
64  ./sample_image_pyramid_pva --input-type=video --video=<video file>
65 
66 ### To run the sample on a camera on NVIDIA DRIVE platforms
67 
68  ./sample_image_pyramid_pva --input-type=camera --camera-type=<camera type> --camera-group=<camera group> --camera-index=<camera idx on camera group>
69 
70 ### To run the sample on non-default engines
71 
72  ./sample_image_pyramid_pva --pyrLevel=3 --pvaNo=1
73 
74 
75 @subsection dwx_image_pyramid_pva_sample_more Additional information
76 
77 For more information, see @ref imageprocessing_filtering_mainsection.