How to detect and recognize traffic light road lined with trees
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.
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!
thank you for your answer.My image is http://www.thelakewoodscoop.com/news/... like this.Green is everywhere.
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.
first of all i use threshold and i obtain only green color image and i try to find circles of images using houghcircle.
That is the first mistake. You need an object detector for traffic lights. Segmenting will not work.
What can I use for object detector
Take a look at cascade classifiers.
Can I get a good result only segmentation because I havent much more time for training
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.