1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page lightnet_mainsection LightNet
5 @note SW Release Applicability: This module is available in **NVIDIA DRIVE Software** releases.
8 This module provides the APIs to initialize, query, and release the NVIDIA proprietary traffic light classification deep neural network: **LightNet**. <br>
10 The data structures include:
11 - `::dwTrafficLightClass`: defines the traffic light states that LightNet is trained to classify.
12 - `::dwLightNetModel`: allows user to choose among LightNet models.
13 - `::dwLightNetParams`: in addition to `::dwLightNetModel`, defines the LightNet model variant with specific precision and processor optimization to be loaded.
15 DriveWorks comes with the LightNet model:
16 - Front camera model: ::DW_LIGHTNET_MODEL_FRONT_V5: Supported on GPU, DLA
17 - Front camera model: ::DW_LIGHTNET_MODEL_FRONT_V6: Supported on GPU
18 - Front camera model: ::DW_LIGHTNET_MODEL_FRONT_V7: Supported on GPU
22 LightNet consumes FP16 planar frames with a resolution of 960x604 pixels from AR0231 cameras (revision >= 4).
26 LightNet currently supports 21 traffic light classes:
28 | # | TRAFFIC LIGHT STATE NAME | LIGHT ICON | DESCRIPTION |
29 |-----|-----------------------------|----------------------------------------------------|:---------------------------------------------------------------------------------|
30 | 1 | TLGreenArrowDown |  | Green down arrow. |
31 | 2 | TLGreenArrowLeft |  | Green left arrow. |
32 | 3 | TLGreenArrowRight |  | Green right arrow. |
33 | 4 | TLGreenArrowStraight |  | Green straight arrow. |
34 | 5 | TLGreenLightGreenArrowLeft |  | Green solid along with a green left arrow. |
35 | 6 | TLGreenLightGreenArrowRight | | Green solid along with a green right arrow. |
36 | 7 | TLGreenLightRedArrowLeft |  | Green solid along with a red left arrow. |
37 | 8 | TLGreenLightRedArrowRight |  | Green solid along with a red right arrow. |
38 | 9 | TLRedArrowLeft |  | Red left arrow. |
39 | 10 | TLRedArrowRight |  | Red left arrow. |
40 | 11 | TLRedLight |  | Red solid. |
41 | 12 | TLRedLightGreenArrowLeft |  | Red solid along with a green left arrow. |
42 | 13 | TLRedLightGreenArrowRight |  | Red solid along with a green right arrow. |
43 | 14 | TLRedLightRedArrowLeft |  | Red solid along with a red left arrow. |
44 | 15 | TLRedLightRedArrowRight |  | Red solid along with a red right arrow. |
45 | 16 | TLYellowArrowLeft |  | Yellow left arrow. |
46 | 17 | TLYellowArrowRight |  | Yellow right arrow. |
47 | 18 | TLYellowLight |  | Yellow solid. |
48 | 19 | TrafficLightGreen |  | Green solid. |
49 | 20 | TLStatelessOrSide |  | The traffic light shows no light, is seen from the side, or not activated. |
50 | 21 | TLLaneClosed |  | Red cross signal. |
51 | 22 | Invalid |  | Not a traffic light object. |
54 ### Additional Information
55 @warning The LightNet model currently deployed is mostly trained with United States traffic lights. It might experience
56 reduced accuracy in other regions, particularly for light patterns not present in the US.
60 - @ref lightnet_usecase1