guides/speed-estimation/ #9188
Replies: 18 comments 53 replies
-
how do we add bytetrack for the tracker? |
Beta Was this translation helpful? Give feedback.
-
Hi , Thanks for providing detailed explanation about the Speed Estimation , I have one question , How can I collect average speed of a vehicle . as i tried results = model.track(im0, persist=True, show=False,classes=vehicles_class)
speed: {'preprocess': 1.1341571807861328, 'inference': 55.93609809875488, 'postprocess': 1.6450881958007812} |
Beta Was this translation helpful? Give feedback.
-
Is it possible to record and store all the speeds of detected vehicles in a list or array? |
Beta Was this translation helpful? Give feedback.
-
When I set reg_pts into a vertical line (not horizontal as default and the example), it does not count anything... |
Beta Was this translation helpful? Give feedback.
-
Hey! |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for sharing. I have a problem and I hope you can help me solve it. I want to hide label names. What I mean is that I don't want the names of cars or trucks to appear above the specified object (vehicles), I only want to show the speed. Is this possible? I have tried a lot and I couldn't hide them. |
Beta Was this translation helpful? Give feedback.
-
Hey, how can I combine between speed estimation and object counting in on code where the speed & Type name &ID appear on one card ? Thank you all |
Beta Was this translation helpful? Give feedback.
-
Hi there, the code is good and easy to apply! Several questions:
|
Beta Was this translation helpful? Give feedback.
-
hello, i have a video of people walking and i am able to view their respective speeds on the output video.
|
Beta Was this translation helpful? Give feedback.
-
I have problem. 😂 |
Beta Was this translation helpful? Give feedback.
-
Hello, i have one question. the distance in the class SpeedEstimator (calculate_speed) speed = dist_difference / time_difference how do you convert the speed to km/ph? |
Beta Was this translation helpful? Give feedback.
-
您好 我想问一下:我想对整个画面检测速度的话请问需要怎么修改 我修改相关参数没有效果 |
Beta Was this translation helpful? Give feedback.
-
Hi! First, thank you for this great model. Second, I have got the model working with the one line, as explained in the blog. But will it work with two or three lines, in order to make the model more precise. As in: line_pts = [(0, 360), (1280, 360)], [(0, 720), (1280, 720)] Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, how can i add to array the speed of the car that passed the line? here is the code
|
Beta Was this translation helpful? Give feedback.
-
Hi! I am very glad that you introduced Yolov11 speed estimation module. I am very excited to start working with it. I have a question: Can I estimate speed of the vehicle without drawing the horizontal or vertical line? I am working on speed estimation of vehicles from the images captured by a camera mounted on an autonomous vehicle. Let me know how I can work this out? |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to write speed using label box. However, the above script for speed estimation does not work. Even, I have already updated yolo11. Please check the above script in examples and here in discussion not same at all. In the example above no tracking : while cap.isOpened():
|
Beta Was this translation helpful? Give feedback.
-
I believe for the code provided in the guide, we get object speed once it enters the region which is not updated further. For my use case, I have a video of a road with cars and for all the cars in the video I want to continuously track/detect speed throughout the video. Is this feasible using solutions.SpeedEstimator ? If yes, can you provide the code snippet/idea behind this ? |
Beta Was this translation helpful? Give feedback.
-
Hello, I want to get the speed of each vehicle detected in the speed estimation method and write the vehicle ID and corresponding speed into a csv file. The speed written in the code below is not the speed of each vehicle detected, but the time taken to reason without a frame in the video. I'm using version 8.1.0 of YOLO. speeds = [] |
Beta Was this translation helpful? Give feedback.
-
guides/speed-estimation/
Speed Estimation Using Ultralytics YOLOv8
https://docs.ultralytics.com/guides/speed-estimation/
Beta Was this translation helpful? Give feedback.
All reactions