Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed monitoring? #32

Open
nickwebcouk opened this issue Jun 18, 2023 · 1 comment
Open

Speed monitoring? #32

nickwebcouk opened this issue Jun 18, 2023 · 1 comment

Comments

@nickwebcouk
Copy link

Hello - is it possible to also capture the speed of counted vehicles/cyclists?

@jeremybmerrill
Copy link

I'm very interested in this too. My guess is that this would be very difficult to do in the general case, because it would require calibration to correlate angular distance/pixel distance within the image to real-world linear distance.

manual calibration would require calculating the distance between the edges (or other known points) within the frame, possibly separately for all lanes. I'm sure there's libraries for doing this, but I don't know where to start.

if you wanted to try to possibly automatically calibrate, in the general case, you could detect vehicles of a known length (e.g., Tesla Model 3 is 184.8″ long) then infer the relationship between pixels and feet/metres. this sounds pretty iffy though, especially since MobileNet's bounding boxes aren't likely to be quite precise enough, especially when vehicles are photographed at an angle.

Curious @nickwebcouk if you've made any progress on this (via this or another project). If not, would be happy to chat about it, as speed monitoring is part of my goal as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants