Theory question. Would a camera based system be as effective as a radar or laser system at detecting distance between a lead vehicle? Also curious about rate of distance change?
All depends on how exactly the system was recording the data, how good the radar/laser are and how you are measuring effectiveness 😊. This camera has the advantage of not being right next to the road and also seeing a lot of the road. Rate of distance change sounds like a velocity which is what were measuring here.
Hi, thanks for this great guide and write up. I've got the system up and running but having issues where only the slower moving cars and pedestrians are being picked up. I have adjusted the red box to only cover the road, and using identical hardware (Pi4B-8GB and PiHQ cam). What settings can I play with to increase the ability to capture faster moving vehicles? I can't move camera further away. Cars are roughly 10m away. Thanks
I am trying to make a similar system to track the exit velocity and launch angle of a baseball being hit off of a tee. Would this be able to measure object's velocity and position of a quick moving object (around 100mph)?
what camera module model you have used sir. pls reply with the model number and other essential details on additional components needed for implementation .what kind of camera module is suitable if it is to be implemented in road? thank you
Hit up the TH-cam description or full written up article - core-electronics.com.au/guides/detect-speed-raspberry-pi/ - to see exactly what hardware I am using. If you mimic the parts I have used in the guide (perhaps use a longer range lens, depending on how far away from the road you are) you'll be good to go. Check out Claude using it on actual traffic here - th-cam.com/video/-xdB_x_CbC8/w-d-xo.html
Totally mate, you will just need to adjust the script a little bit by adjusting the camera | Index | number. With everything plugged in type and enter the following into your terminal. This will inform you as to what the index number need to be. --list-cameras
i need help with genereic web cam, i saw some options in settings, where at present its set to pilibcam , and can be changed to usbcam, and doing so didnt do anything.
Hello and thank you for going through this. I have this up and running and have been tweaking it to get the speed as accurate as possible. I am having an issue where the camera is taking multiple photos of a vehicle as it goes by. How do I reduce that so it calculates just one average? I’m running this in an Orange. I had it on a RPi but I do not think it was as smoothing. The Orange is running it really well. Any help would be appreciated!
Great to hear you got the project going, we have a dedicated community forums post that might have some helpful information, if not feel free to chuck a post there with your setup, we have lots of maker eyes over there that can help! forum.core-electronics.com.au/t/detect-speed-with-a-raspberry-pi-camera-and-opencv/11784/18
I love that idea! I reckon you need to go full Mythbusters, with a zebra background and a high frame rate, sharply focused, slow motion camera. Similar to this set up - th-cam.com/video/BLuI118nhzc/w-d-xo.html
Frame rate and pixel density are the limiting factors with this system. If your smashing the golf ball out of the driving range I reckon it will be going too fast to get an accurate reading, but if your doing slower putts on the green it'll record that speed no problem.
Would this software work with a car driving towards the camera vs perpendicular to it? working on a speed sign with speed display for my neighborhood. Thanks!
This software works by pixel tracking Left to Right or Right to Left. This won’t work with the car driving towards the camera as it operates at a calibrated distance away from the camera. Hope this helps.
100% mate, that is totally within the capabilities of this system. Each car captured by the system will have a unique photo tagged with time and speed information for record keeping.
Nice advanced question! I know that ANFIS systems have been implemented on a Raspberry Pi (www.researchgate.net/publication/323700075_ANFIS_based_quadrotor_drone_altitude_control_implementation_on_Raspberry_Pi_platform) I see no reason why it couldn't be taken into the land of Face Detection.
Hey Ollie, we have a dedicated forum topic on this exact video that might have some helpful information for you there, if not feel free to drop a post there with your setup and some screenshots of your issue, we have a lot of maker eyes over there that can help!
I would really love this to track vehicle speeds but I just don’t have the technical ability to build one of these. Is there a place I can find somebody to build me one of these for a fee?
If you're running the legacy 'Buster' OS you should be able to run this on a Raspberry Pi 3, though the CPU intense computer vision will run quite slowly on a Pi 3
No worries, any Raspberry Pi 4 will do just fine, RAM doesn't greatly impact the performance for this application as the processes are mainly CPU based
Is it functioning okay not-headlessly? Also double check for me that all your hardware is the same as mine, also can you confirm that your system is running with Raspberry Pi 'Buster' OS. We can get your system back to running properly 😊
Exactly what I needed, as working on a similar project. Thanks
Glad it helped 😊
Theory question. Would a camera based system be as effective as a radar or laser system at detecting distance between a lead vehicle? Also curious about rate of distance change?
All depends on how exactly the system was recording the data, how good the radar/laser are and how you are measuring effectiveness 😊. This camera has the advantage of not being right next to the road and also seeing a lot of the road. Rate of distance change sounds like a velocity which is what were measuring here.
at 4:27 when i try to open menubox, it says permission denied, do you know why?
Hi, thanks for this great guide and write up. I've got the system up and running but having issues where only the slower moving cars and pedestrians are being picked up. I have adjusted the red box to only cover the road, and using identical hardware (Pi4B-8GB and PiHQ cam). What settings can I play with to increase the ability to capture faster moving vehicles? I can't move camera further away. Cars are roughly 10m away. Thanks
I am trying to make a similar system to track the exit velocity and launch angle of a baseball being hit off of a tee. Would this be able to measure object's velocity and position of a quick moving object (around 100mph)?
what camera module model you have used sir. pls reply with the model number and other essential details on additional components needed for implementation .what kind of camera module is suitable if it is to be implemented in road?
thank you
Hit up the TH-cam description or full written up article - core-electronics.com.au/guides/detect-speed-raspberry-pi/ - to see exactly what hardware I am using. If you mimic the parts I have used in the guide (perhaps use a longer range lens, depending on how far away from the road you are) you'll be good to go. Check out Claude using it on actual traffic here - th-cam.com/video/-xdB_x_CbC8/w-d-xo.html
Thanks for the step by step info. Is it possible to use a regular USB camera for these projects ?
Totally mate, you will just need to adjust the script a little bit by adjusting the camera | Index | number. With everything plugged in type and enter the following into your terminal. This will inform you as to what the index number need to be.
--list-cameras
i need help with genereic web cam, i saw some options in settings, where at present its set to pilibcam , and can be changed to usbcam, and doing so didnt do anything.
Hello and thank you for going through this. I have this up and running and have been tweaking it to get the speed as accurate as possible. I am having an issue where the camera is taking multiple photos of a vehicle as it goes by. How do I reduce that so it calculates just one average? I’m running this in an Orange. I had it on a RPi but I do not think it was as smoothing. The Orange is running it really well. Any help would be appreciated!
Great to hear you got the project going, we have a dedicated community forums post that might have some helpful information, if not feel free to chuck a post there with your setup, we have lots of maker eyes over there that can help!
forum.core-electronics.com.au/t/detect-speed-with-a-raspberry-pi-camera-and-opencv/11784/18
If I want to measure the speed and revolution of a baseball throughout the whole flight, can you recommend me a camera that can do that?
I love that idea! I reckon you need to go full Mythbusters, with a zebra background and a high frame rate, sharply focused, slow motion camera. Similar to this set up - th-cam.com/video/BLuI118nhzc/w-d-xo.html
what are the speed limitations on this if i was to replace the car with say a golf ball?
Frame rate and pixel density are the limiting factors with this system. If your smashing the golf ball out of the driving range I reckon it will be going too fast to get an accurate reading, but if your doing slower putts on the green it'll record that speed no problem.
It'd be cool if this could add the info into a csv file too.
Would this software work with a car driving towards the camera vs perpendicular to it? working on a speed sign with speed display for my neighborhood. Thanks!
This software works by pixel tracking Left to Right or Right to Left. This won’t work with the car driving towards the camera as it operates at a calibrated distance away from the camera. Hope this helps.
Could this project change to USB webcam?
Is it possible to scan a street with 100 different cars a day?
100% mate, that is totally within the capabilities of this system. Each car captured by the system will have a unique photo tagged with time and speed information for record keeping.
sir can you please provide the code link here as i am unable to find it in the guided note
Big love to Claude, here is his GitHub page on this script - github.com/pageauc/speed-camera
@@Core-Electronics thank u so much sir
Where did you get the camera
Hello, can raspberry Pi face detection integrate with ANFIS?
Nice advanced question! I know that ANFIS systems have been implemented on a Raspberry Pi (www.researchgate.net/publication/323700075_ANFIS_based_quadrotor_drone_altitude_control_implementation_on_Raspberry_Pi_platform) I see no reason why it couldn't be taken into the land of Face Detection.
5:00 "ip address : 8 o 8 o", nope, 8080, no letters, also use tab completion for a filename in the current directory
Cheers for the correction and the tip!
Hy is it possible to run rasp model b 1 GB Ram and can I use 5 doller raspberry pi cam?
Thanks a bunch!
My pleasure mate 😊
Can we measure the speed of the ball using this software?
You absolutely can!
when i open the menubox, it says failed to start speed cam py, any idea why?
i think it has something to do with permissions, but im not sure what.
specifically it says line 60 of the menubox script has permission denied
Hey Ollie, we have a dedicated forum topic on this exact video that might have some helpful information for you there, if not feel free to drop a post there with your setup and some screenshots of your issue, we have a lot of maker eyes over there that can help!
I would really love this to track vehicle speeds but I just don’t have the technical ability to build one of these. Is there a place I can find somebody to build me one of these for a fee?
Hi Good day! Does raspberry pi 2gb ram will work on this?
If you're running the legacy 'Buster' OS you should be able to run this on a Raspberry Pi 3, though the CPU intense computer vision will run quite slowly on a Pi 3
@@Core-Electronics sorry wrong question, im pertaining to raspberry pi 4 with 2gb ram
No worries, any Raspberry Pi 4 will do just fine, RAM doesn't greatly impact the performance for this application as the processes are mainly CPU based
@@Core-Electronics Thank you mate!
my webserver isnt working?
Is it functioning okay not-headlessly? Also double check for me that all your hardware is the same as mine, also can you confirm that your system is running with Raspberry Pi 'Buster' OS. We can get your system back to running properly 😊
I am missing credit to the author of the sw.
Bro is Conor Murphy the bodybuilder your bro ? 😮
Cool