forked from dhananjaymenon/SpeedRadar-OpenCV-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db8e396
commit f316372
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|
||
|
||
|