Skip to content

Traffic-Light-Detector Codes from Cilab kr/TrafficLight Detector.git, Optimized for Team Drift

Notifications You must be signed in to change notification settings

BITDOL-Drift/Drift-Traffic-Light-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 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.

UPDATED BY DRIFT_BITDOL

FOR 2023 DAEGU AUTONOMOUS CAR ALGORITHM CONTEST

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] (ノ゚▽゚)ノ

HOW to run ROS node

rosrun traffic_light_detector traffic_light_detector.py

About

Traffic-Light-Detector Codes from Cilab kr/TrafficLight Detector.git, Optimized for Team Drift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published