Please refer the "Explanation for the code" pdf document to understand the process of counting
The code for counting vehicles is in Vehicle_count.py
The codes for understanding opencv is in Opencv_trials.ipynb
The link to view the video used in opencv trials https://www.youtube.com/watch?v=dTdsjKRyMuU
The link to see the actual video of this code “traffic4.mp4” is here https://youtu.be/vgvQIanWWB4
For “turn_issues.avi” https://youtu.be/H6dyVp9hBlE
The output video of this exercise is in https://youtu.be/-FK4wy6Tp10