1 | initial version |
Have you tried to use any methods for detecting the arrow? If you know that the arrow is present, that means you detected a 4-pattern traffic light. Otherwise, it doesn't matter if it's 3 or 4-pattern, you will just use color segmentation as you did before. Hope it helps.