Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjaymenon authored Jun 5, 2021
1 parent db8e396 commit f316372
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# SpeedRadar-OpenCV-
This code focusses on Object Tracking and Speed Estimation of vehicles passing by a road.
This code focusses on Object Tracking and Speed Estimation of vehicles passing by a road. The camera angle is from slightly above the road, (similar to the video given)

![AbuDhabi_Traffic](https://user-images.githubusercontent.com/72432304/120893909-ad17b100-c626-11eb-92ad-4d1ff314265b.JPG)


# Video
Any Similar Video would do, however there would be some changes you'll have to make to the code if you choose a different video. This is due to a change of scene, distance estimation and pixel clarity.

For SpeedRadar2.py, the region of interest, the red timer lines and the area threshold used for detecting vehicles.

For tracker2.py, the numbers given in the update() function and getsp() fuction would change for a different video.


# Files
I created a file named "TrafficRecord" (which contains a file named "exceeded") for saving images of vehicles. Change the directory in the tracker2.py file accordingly for the code to work.




0 comments on commit f316372

Please sign in to comment.