Skip to content

YanMinge/raspi_traffic-light-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrafficLight-Detector

Simple traffic light detector by opencv python


TrafficLight-Detector(TLD) is a script to detect traffic lights, red? green? or yellow ones.
TLD performs well in the daylight with only about 100 lines code. See results here.
Ideas from two opencv demos: hough circle transform and object tracking.
If the detection results is not satisfied, you can adjust some params to get a better result.

How to use

  1. Make sure the resolution of your sample images being not too high (1024*768 is prefered).
  2. Pull them into /light folder.
  3. Run the script main.py
  4. You will get the results in /result folder.

If you have any problem, please contact [email protected] (ノ゚▽゚)ノ

About

used for raspberry pi traffic light detect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages