The autoware_traffic_light_classifier package classifies traffic light labels using cropped images (ROIs) around the detected traffic lights. It provides two distinct classification models:
- cnn_classifier: Uses deep learning models (EfficientNet-b1 or MobileNet-v2) to classify vehicular and pedestrian signals.
- hsv_classifier: Uses the HSV color model to classify traffic light colors (green, yellow, and red).
If the input ROIs have a height or width of 0, the output signals are set to UNKNOWN color, CIRCLE shape, and 0.0 confidence. If the ROIs are identified as backlight, the output signals are set to UNKNOWN color, UNKNOWN shape, and 0.0 confidence.