This code is able to estimate the relative speed and distance to a specific point, and vehicle identification was done with the help of YOLOv8.
Speed.and.Distance.Estimator.mp4
cloning
git clone https://github.com/GIGAParviz/Speed-and-Distance-Estimator.git
install requirements
pip install -r requirements.txt
then
python Speed and Distance Estimator.py --videopath
Hope you like it <3