T
T
The15karat2017-04-05 16:19:51
Arduino
The15karat, 2017-04-05 16:19:51

OpenCV needs to recognize the colors of traffic lights and road signs. How to do it?

Hello. I'm doing a job for a competition.
According to the task, the platform must pass the trajectory according to the traffic rules.
That is, you need to read the colors of traffic lights, road signs (Stop sign, turn left, right, straight).
This all needs to be done with a camera and a single board PC.
Can anyone tell me how to recognize the colors of traffic lights?
I understand that this is all done using the OpenCV library.
Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2017-04-05
@dimonchik2013

look here

A
Alexander Skusnov, 2017-04-06
@AlexSku

There are two ways to recognize the color of a traffic light (it’s even good to turn on both analyzers): in fact, by color and by brightness (the arrangement of circles is standard for both vertical and horizontal traffic lights). Beforehand, it would be necessary to define in the frame the area with the traffic light itself, i.e. color and brightness in other places do not check.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question