DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/imageprocessing/fast9_feature_detector/README.md
Go to the documentation of this file.
1 # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_fast9_feature_detector_sample FAST9 Feature Detector Sample
4 @tableofcontents
5 
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 @section dwx_fast9_feature_detector_description Description
9 
10 The FAST9 Feature Detector sample demonstrates the feature detection capabilities using the
11 FAST9 algorithm of the @ref imageprocessing_features_mainsection module. It loads a video stream and
12 reads the images sequentially. For each frame, it detects feature points using the FAST9 algorithm.
13 
14 @section dwx_fast9_feature_detector_running Running the Sample
15 
16 The FAST9 Feature Detector sample, sample_fast9_feature_detector, accepts the following optional parameters. If none are specified, it will perform detections on a supplied pre-recorded video.
17 
18  ./sample_fast9_feature_detector --video=[path/to/video.h264]
19  --maxFeatureCount=[even_number]
20  --pva=[0|1]
21  --pvaEngineNo=[0|1]
22  --scoreThreshold=[fp_number]
23  --NMSRadius=[0|1]
24  --usePinnedMemory=[0|1]
25 
26 where
27 
28  --video=[path/to/video.h264]
29  Is the absolute or relative path of a h264 or RAW/LRAW video.
30  Containers such as MP4, AVI, MKV, etc. are not supported.
31  Default value: path/to/data/samples/sfm/triangulation/video_0.h264.
32 
33  --maxFeatureCount=[even_number]
34  Specifies the maximum number of features that can be stored.
35  If using PVA to do fast9 feature detection, maxFeatureCount needs to
36  be set as no more than 4096.
37  Default value: 4096
38 
39  --pva=[0|1]
40  When set to 1, the fast9 feature detection algorithm is performed on PVA hardware.
41  Otherwise, it is performed on GPU.
42  Default value: 0
43 
44  --pvaEngineNo=[0|1]
45  If pva is set as 1, determines on which PVA the detector should run on.
46  Default value: 0
47 
48  --scoreThreshold=[fp_number]
49  Defines the strength for which a point is classified as a corner.
50  Default value: 56
51 
52  --NMSRadius=[0|1]
53  When set to 1, non-maximum suppression will be applied.
54  Default value: 0
55 
56  --usePinnedMemory=[0|1]
57  When set to 1, it would use of PinnedMemory for faster CudaMemcpy.
58  Default value: 0
59 
60 @section dwx_fast9_feature_detector_output Output
61 
62 The sample creates a window, displays the video, and overlays the list of features.
63 The current feature positions of the current frame will be overlaid by small squares.
64 
65 ![FAST9 Sample Output](sample_fast9.png)
66 
67 For more details see @ref imageprocessing_features_usecase1.