apollo icon indicating copy to clipboard operation
apollo copied to clipboard

What is a TL_QUADRATE_CLASS traffic light?

Open boyang9602 opened this issue 3 years ago • 0 comments

Hi, I have a question about the quadrate traffic light. What kind of traffic light does it mean exactly? As the code shows, it is detected by the deep learning model in the traffic light detection step. There is an enumerate type in code

enum class TLDetectionClass {
  TL_UNKNOWN_CLASS = -1,
  TL_VERTICAL_CLASS = 0,
  TL_QUADRATE_CLASS = 1,
  TL_HORIZONTAL_CLASS = 2
};

Since this step is just detecting the bounding boxes of the traffic light, I think these enumerated types means the layout of the traffic lights. So in my opinion, VERTICAL means image HORIZONTAL means image And QUADRATE probably means a single light, like image

Is my understanding correct?

So is this a case you are going to handle? image If so, what type of this one should be? In the detection (I'm using Apollo v5.5.0), its bounding boxes are detected and the scores for the TLDetectionClass are

I0215 23:08:37.515722 22558 detection.cc:323] []result_data 0.437532  # UNKNOWN
I0215 23:08:37.515745 22558 detection.cc:323] []result_data 0.559215  # VERTICAL
I0215 23:08:37.515763 22558 detection.cc:323] []result_data 0.000870899  # QUADRATE
I0215 23:08:37.515781 22558 detection.cc:323] []result_data 0.00238272  # HORIZONTAL

Then it is sent to the selection part with other bounding boxes.

Thanks!

boyang9602 avatar Mar 24 '22 14:03 boyang9602