bamwani / car-counting-and-speed-estimation-yolo-sort-python

This project imlements the following tasks in the project: 1. Vehicle counting, 2. Lane detection. 3.Lane change detection and 4.speed estimation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The output video is unclear

jaiidas opened this issue · comments

the output video shows like the attached image. I can't figure out what is the problem or where can I change the height and width of the video
Screen Shot 2020-07-14 at 4 21 54 PM

@jaiidas
Looks like you are new to OpenCV.

cv2.putText(frame, "LANES ARE NUMBERED FROM LEFT TO RIGHT STARTING FROM 1", (100,50), cv2.FONT_HERSHEY_DUPLEX, 2.0, (0, 0, 255), 5)

here 2.0 is the font scale. Ref

also, I have not scaled the video frames. Looking at your video quality, I'll suggest you the same too.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.