| CPC G06V 20/584 (2022.01) [G06T 5/20 (2013.01); G06T 7/20 (2013.01); G06T 7/90 (2017.01); G06V 10/25 (2022.01); G06V 10/60 (2022.01); G06T 2207/10024 (2013.01)] | 18 Claims |

|
1. An image processing apparatus that identifies a lighting state of a traffic light having a green light, a yellow light, and a red light, the image processing apparatus comprising a controller configured to:
(i) specify a traffic light region in an image acquired from an in-vehicle camera;
(ii) detect green pixels, yellow pixels, and red pixels in the traffic light region;
(iii) perform weighting by assigning a higher weighting value to the green pixels, the yellow pixels and the red pixels in positions respectively corresponding to locations of the green light, the yellow light, and the red light in the traffic light region; and
(iv) determine the lighting state of the traffic light as either green, yellow or red based on a comparison of a total number of pixels for each of the green, yellow and red pixels after performing the weighting.
|