Ask Your Question

How to detect and recognize traffic light road lined with trees

asked 2016-09-08 08:33:13 -0500

livelock gravatar image

updated 2016-09-08 09:40:05 -0500

Hello guyz.I want to detect and recognize traffic lights.But my way has alot of green tree so I dont use green color detection.Please help me.Thanks in advance.

edit retag flag offensive close merge delete


Example image please. Traffic lights are different in every single country out there. Also gives us an image of the actual situation before we can make any decent solution or comment that points you to the correct place!

StevenPuttemans gravatar imageStevenPuttemans ( 2016-09-09 06:11:12 -0500 )edit

thank you for your answer.My image is like this.Green is everywhere.

livelock gravatar imagelivelock ( 2016-09-09 06:23:27 -0500 )edit

But the traffic light is a very specific object. So train a detector for that one first, then segment the detections into the red/orange/green region, and see if it is lit or not! Does not seem that difficult apart from step 1.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-09-09 06:36:10 -0500 )edit

first of all i use threshold and i obtain only green color image and i try to find circles of images using houghcircle.

livelock gravatar imagelivelock ( 2016-09-09 06:43:06 -0500 )edit

That is the first mistake. You need an object detector for traffic lights. Segmenting will not work.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-09-09 06:51:55 -0500 )edit

What can I use for object detector

livelock gravatar imagelivelock ( 2016-09-09 06:54:01 -0500 )edit

Take a look at cascade classifiers.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-09-09 07:07:53 -0500 )edit

Can I get a good result only segmentation because I havent much more time for training

livelock gravatar imagelivelock ( 2016-09-09 08:07:07 -0500 )edit

No ... you can try, but tweaking the segmentation will take ages and it will break down as soon as you have a distortion due to light or such.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-09-12 04:08:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-19 06:11:46 -0500

livelock gravatar image

Thank you.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-09-08 08:33:13 -0500

Seen: 1,273 times

Last updated: Sep 08 '16