Apollo 11.0
自动驾驶开放平台
apollo::perception::trafficlight 命名空间参考

命名空间

namespace  yolox
 

类

class  BaseTLPreprocessor
 
class  BaseTrafficLightDetector
 
class  BaseTrafficLightRecognitor
 
class  BaseTrafficLightTracker
 
class  ClassifyBySimple
 
struct  ClassifyParam
 
class  CropBox
 
class  CropBoxWholeImage
 
struct  EfficientNetParam
 
class  EfficientNetRecognition
 
struct  HystereticWindow
 
class  IGetBox
 
struct  ModelParam
 
struct  MultiCamerasInitOption
 
class  MultiCamerasProjection
 
struct  PadResizeParam
 
struct  ProjectOption
 
struct  RecognitionParam
 
class  Select
 
class  SemanticReviser
 
struct  SemanticReviserConfig
 
struct  SemanticTable
 
class  TLInfo
 
class  TLPreprocessor
 
struct  TLPreprocessorOption
 
struct  TrackingParam
 
struct  TrafficLight
 
class  TrafficLightDetectComponent
 
class  TrafficLightDetection
 
struct  TrafficLightDetectorInitOptions
 
struct  TrafficLightParam
 
struct  TrafficLightPreprocessorInitOptions
 
class  TrafficLightRecognComponent
 
class  TrafficLightRecognition
 
struct  TrafficLightRecognitionConfig
 
struct  TrafficLightRecognitorInitOptions
 
class  TrafficLightsPerceptionComponent
 
class  TrafficLightTLDetectorYolox
 
class  TrafficLightTrackComponent
 
struct  TrafficLightTrackerInitOptions
 

类型定义

using TLCamID = apollo::perception::TrafficLightDetection::CameraID
 

函数

 REGISTER_TRAFFIC_LIGHT_DETECTOR (TrafficLightDetection)
 
 REGISTER_TRAFFIC_LIGHT_DETECTOR (TrafficLightTLDetectorYolox)
 
 PERCEPTION_REGISTER_REGISTERER (BaseTrafficLightDetector)
 
 CYBER_REGISTER_COMPONENT (TrafficLightDetectComponent)
 
 PERCEPTION_REGISTER_REGISTERER (BaseTrafficLightRecognitor)
 
 REGISTER_TRAFFIC_LIGHT_DETECTOR (TrafficLightRecognition)
 
 REGISTER_TRAFFIC_LIGHT_DETECTOR (EfficientNetRecognition)
 
 CYBER_REGISTER_COMPONENT (TrafficLightRecognComponent)
 
 PERCEPTION_REGISTER_REGISTERER (BaseTLPreprocessor)
 
 PERCEPTION_REGISTER_TLPREPROCESSOR (TLPreprocessor)
 
 CYBER_REGISTER_COMPONENT (TrafficLightsPerceptionComponent)
 
 PERCEPTION_REGISTER_REGISTERER (BaseTrafficLightTracker)
 
bool compare (const SemanticTable &s1, const SemanticTable &s2)
 
 REGISTER_TRAFFIC_LIGHT_TRACKER (SemanticReviser)
 
 CYBER_REGISTER_COMPONENT (TrafficLightTrackComponent)
 

变量

std::map< base::TLColor, std::string > s_color_strs
 
std::map< base::TLColor, TLInfo > s_tl_infos
 

类型定义说明

◆ TLCamID

函数说明

◆ compare()

bool apollo::perception::trafficlight::compare ( const SemanticTable &  s1,
const SemanticTable &  s2 
)

在文件 semantic_decision.cc 第 36 行定义.

36 {
37 return s1.semantic == s2.semantic;
38}

◆ CYBER_REGISTER_COMPONENT() [1/4]

apollo::perception::trafficlight::CYBER_REGISTER_COMPONENT ( TrafficLightDetectComponent  )

◆ CYBER_REGISTER_COMPONENT() [2/4]

apollo::perception::trafficlight::CYBER_REGISTER_COMPONENT ( TrafficLightRecognComponent  )

◆ CYBER_REGISTER_COMPONENT() [3/4]

apollo::perception::trafficlight::CYBER_REGISTER_COMPONENT ( TrafficLightsPerceptionComponent  )

◆ CYBER_REGISTER_COMPONENT() [4/4]

apollo::perception::trafficlight::CYBER_REGISTER_COMPONENT ( TrafficLightTrackComponent  )

◆ PERCEPTION_REGISTER_REGISTERER() [1/4]

apollo::perception::trafficlight::PERCEPTION_REGISTER_REGISTERER ( BaseTLPreprocessor  )

◆ PERCEPTION_REGISTER_REGISTERER() [2/4]

apollo::perception::trafficlight::PERCEPTION_REGISTER_REGISTERER ( BaseTrafficLightDetector  )

◆ PERCEPTION_REGISTER_REGISTERER() [3/4]

apollo::perception::trafficlight::PERCEPTION_REGISTER_REGISTERER ( BaseTrafficLightRecognitor  )

◆ PERCEPTION_REGISTER_REGISTERER() [4/4]

apollo::perception::trafficlight::PERCEPTION_REGISTER_REGISTERER ( BaseTrafficLightTracker  )

◆ PERCEPTION_REGISTER_TLPREPROCESSOR()

apollo::perception::trafficlight::PERCEPTION_REGISTER_TLPREPROCESSOR ( TLPreprocessor  )

◆ REGISTER_TRAFFIC_LIGHT_DETECTOR() [1/4]

apollo::perception::trafficlight::REGISTER_TRAFFIC_LIGHT_DETECTOR ( EfficientNetRecognition  )

◆ REGISTER_TRAFFIC_LIGHT_DETECTOR() [2/4]

apollo::perception::trafficlight::REGISTER_TRAFFIC_LIGHT_DETECTOR ( TrafficLightDetection  )

◆ REGISTER_TRAFFIC_LIGHT_DETECTOR() [3/4]

apollo::perception::trafficlight::REGISTER_TRAFFIC_LIGHT_DETECTOR ( TrafficLightRecognition  )

◆ REGISTER_TRAFFIC_LIGHT_DETECTOR() [4/4]

apollo::perception::trafficlight::REGISTER_TRAFFIC_LIGHT_DETECTOR ( TrafficLightTLDetectorYolox  )

◆ REGISTER_TRAFFIC_LIGHT_TRACKER()

apollo::perception::trafficlight::REGISTER_TRAFFIC_LIGHT_TRACKER ( SemanticReviser  )

变量说明

◆ s_color_strs

std::map<base::TLColor, std::string> apollo::perception::trafficlight::s_color_strs
初始值:
= {
{base::TLColor::TL_UNKNOWN_COLOR, "unknown"},
{base::TLColor::TL_RED, "red"},
{base::TLColor::TL_GREEN, "green"},
{base::TLColor::TL_YELLOW, "yellow"},
{base::TLColor::TL_BLACK, "black"}}

在文件 semantic_decision.cc 第 29 行定义.

29 {
30 {base::TLColor::TL_UNKNOWN_COLOR, "unknown"},
31 {base::TLColor::TL_RED, "red"},
32 {base::TLColor::TL_GREEN, "green"},
33 {base::TLColor::TL_YELLOW, "yellow"},
34 {base::TLColor::TL_BLACK, "black"}};

◆ s_tl_infos

std::map<base::TLColor, TLInfo> apollo::perception::trafficlight::s_tl_infos
初始值:
= {
{base::TLColor::TL_UNKNOWN_COLOR,
{cv::Scalar(255, 255, 255), "UNKNOWN", "UNKNOWN traffic light"}},
{base::TLColor::TL_RED,
{cv::Scalar(0, 0, 255), "RED", "RED traffic light"}},
{base::TLColor::TL_GREEN,
{cv::Scalar(0, 255, 0), "GREEN", "GREEN traffic light"}},
{base::TLColor::TL_YELLOW,
{cv::Scalar(0, 255, 255), "YELLOW", "YELLOW traffic light"}}}

在文件 traffic_light_tracking_component.cc 第 50 行定义.

50 {
51 {base::TLColor::TL_UNKNOWN_COLOR,
52 {cv::Scalar(255, 255, 255), "UNKNOWN", "UNKNOWN traffic light"}},
53 {base::TLColor::TL_RED,
54 {cv::Scalar(0, 0, 255), "RED", "RED traffic light"}},
55 {base::TLColor::TL_GREEN,
56 {cv::Scalar(0, 255, 0), "GREEN", "GREEN traffic light"}},
57 {base::TLColor::TL_YELLOW,
58 {cv::Scalar(0, 255, 255), "YELLOW", "YELLOW traffic light"}}};