Skip to content

Control traffic lights based on the vehicle density at four regions of interest at a traffic intersection. Live video stream obtained from here.

Notifications You must be signed in to change notification settings

4lhc/Traffic-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic-Management-System

Control traffic lights based on the vehicle density at four regions of interest at a traffic intersection. Live video stream obtained from here.


Background Extraction

Calculate the weighted sum of the input image src and the accumulator dst so that dst becomes a running average of the frame sequence. link

eqn


Average Image

Running verage


Template Creation

with masks and average frame cv2.bitwise_and()

Template 1 Template 2 Template 3 Template 4

ROI Extraction

ROI 1 ROI 2 ROI 3 ROI 4

Template Matching

ROI 1 ROI 2 ROI 3 ROI 4

refer TMS.ipynb for more.

About

Control traffic lights based on the vehicle density at four regions of interest at a traffic intersection. Live video stream obtained from here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •