Replies: 8 comments 2 replies
-
Hi, @MrFahad 👋🏻 ! I think the only hardcoded part in the script is the If so, those parameters must be adjusted separately for every camera view. Could you share more about what you would expect from a better example script? |
Beta Was this translation helpful? Give feedback.
-
Yes that's what I was saying, how to make them dynamic?? Can you please give me an example code that how to adjust them for every camera view?? |
Beta Was this translation helpful? Give feedback.
-
@MrFahad, the problem is you can't make those dynamically. You must provide this configuration for each camera to make an accurate speed estimation. Those measurements must most likely be made manually. |
Beta Was this translation helpful? Give feedback.
-
So, what if we have 10 cameras then we need to configure each camera manually. Am I right?? And secondly, for accurate speed Estimation will we take average of all the cameras view.?? Let's say we have 2 cameras how you will write it manually??? |
Beta Was this translation helpful? Give feedback.
-
Yes you need to make the configuration manually. You only need to do it once for each camera. Then, just store it in a JSON file.
That's an extra step. You don't need to do it. |
Beta Was this translation helpful? Give feedback.
-
Btw, I'm converting this issue into a discussion and putting it into the Q&A section. |
Beta Was this translation helpful? Give feedback.
-
Ok I got it. I will give a try and get back to you soon. Thank you so much for your time. 🤞 |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using the following code in the reference link but my output is just 0.0 kmph and my resolution/dimensions are 2886 x 1104 and in real life the dimensions are very small width = 0.758825 m, height = 0.29210 m. Reference Link: https://www.youtube.com/watch?v=uWP6UjDeZvY Likith |
Beta Was this translation helpful? Give feedback.
-
Search before asking
Bug
Thank you so much for such great work. I have test all of the 3 scenarios, i.e. NAS, Inference, ultralytics.
The code is working perfectly.
But I have one question, how to make source and target dynamic so that they can handle any kind of resolution video. ??
I have seen the code is working great but with only vehicles.mp4 , because you have set the values according to that video 3480x2160.
Thanks,
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions