DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

LandmarkDetectorTypes.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2015-2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
41 #ifndef DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
42 #define DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
43 
44 #include <dw/core/Types.h>
46 
47 #define DW_LANEMARK_TRACKID_MAX 100
48 #define DW_LANEMARK_TRACKID_INVALID DW_LANEMARK_TRACKID_MAX + 1
49 
50 #define DW_LANEMARK_MAX_COUNT 32
51 #define DW_LANEMARK_POINT_MAX_COUNT 128
52 
53 #define DW_POLE_DETECTION_MAX_COUNT 32
54 
55 #define DW_LANDMARK_MAX_COUNT 128
56 #define DW_LANDMARK_POINT_MAX_COUNT 512
57 
59 typedef enum {
68 
70 
72 typedef struct
73 {
75  uint32_t trackId;
76 
79 
82 
85 
87  uint32_t numPoints;
88 
91 
93 
96 
98 
100 typedef struct dwLaneDetection
101 {
102 
104  uint32_t numLaneMarkings;
105 
108 
111 
113 
115 // A definition of one pole.
116 typedef struct dwPole
117 {
119  uint32_t numPoints;
120 
123 } dwPole;
124 
126 typedef struct dwPoleDetection
127 {
129  uint32_t numPoles;
130 
134 
136 typedef struct dwLandmark
137 {
139  uint32_t trackId;
140 
143 
145  uint32_t numPoints;
146 
149 
151  bool isClose;
152 
155 
158 } dwLandmark;
159 
161 typedef struct dwLandmarkDetection
162 {
164  uint32_t numLandmarks;
165 
168 
170 
171 #endif // DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
Describes the overall landmark type and sub attribute for a given landmark.
Definition: LandmarkTypes.h:96
This structure and dwPoleDetection are deprecated, going forward pelase only use dwLandmark and dwLan...
uint32_t numPoints
Number of points in the array.
The output format of detected poles.
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
Definition: Types.h:70
uint32_t numLandmarks
Number of detected waitlines.
A definition of one lane.
float32_t confidence
Confidence Score. Confidence score.
Defines a three-element floating-point vector.
Definition: Types.h:319
Defines a two-element single-precision floating-point vector.
Definition: Types.h:291
#define DW_LANEMARK_MAX_COUNT
lane marking on the left side next to ego lane
A definition of one landmark.
The output format of detected line types.
uint32_t numPoles
Number of detected poles.
dwLaneMarkType
Describes Lane marking attributes of the super landmark type DW_LANDMARK_TYPE_LANE_MARKINGS defined a...
Definition: LandmarkTypes.h:53
uint32_t numPoints
Number of points in the array.
dwLanePositionType
Definition of the position of a lane marking in respect to the ego lane.
this can be same as ego right or different if this is split lane
dwTime_t timestamp
Timestamp of frame used for detection.
lane marking on the right side next to ego lane
#define DW_LANEMARK_POINT_MAX_COUNT
dwLanePositionType positionType
Category of the position of lane marking.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
#define DW_LANDMARK_POINT_MAX_COUNT
bool isClose
closed polygon or not:
left lane marking of the ego lane
dwLandmarkAttribute landmarkAttribute
type;
The output format of detected lanes.
dwLaneMarkType lineType
Category of the line type of lane marking.
lane marking has been identified but has not been categorized
uint32_t trackId
Track ID. A unique id assigned by lane tracking module.
uint32_t numPoints
Number of points in the array.
uint32_t trackId
Track ID. A unique id.
#define DW_POLE_DETECTION_MAX_COUNT
#define DW_LANDMARK_MAX_COUNT
float32_t confidence
Confidence Score. Confidence score computed by lane detection.
uint32_t numLaneMarkings
Number of detected lane markings.
this can be same as ego left or different if this is split lane
right lane marking of the ego lane
dwLaneMarking laneMarkings[DW_LANEMARK_MAX_COUNT]
Detected lane markings.