akshitagupta15june / lane_detection_opencv

The main emphasis of this project is to find the further ways which can be used further to improve the result of lane detection algorithms. Join Discord channel for discussion.
https://discord.gg/CWqgNWbNye
MIT License
37 stars 36 forks source link

Issue #81 : Show FPS on the side of frame #85

Closed TanweerulHaque closed 3 years ago

TanweerulHaque commented 3 years ago

This is wrt to the issue #81 : Showing FPS on the side of frame - 1) Importing of 2 additional packages in this python file - "datetime" and "imutils" 2) Added the FPS to be displayed in the "main" function definition of this file

TanweerulHaque commented 3 years ago

@akshitagupta15june This is wrt to the issue #81 : Showing FPS on the side of frame. I have briefly explained and done all the necessary changes. PR has been sent, Do merge it. Please guide me if there's anything wrong. Thank you.

q-viper commented 3 years ago

Hi @TanweerulHaque I just went through your this python file and figured out that you have used OpenCV as cv2 and cv somewhere. Please look at that. Use only cv2 or cv. FPS is shown good and after your correction to OpenCV importing, we are good to go.

TanweerulHaque commented 3 years ago

Sorry for the typo @q-viper . I have corrected it now. Thank you.

q-viper commented 3 years ago

You have done right but please look at this article too.

akshitagupta15june commented 3 years ago

ok! Thankyou so much @q-viper mentor for reviewing the pr. I am merging your pr @TanweerulHaque