Measure Speed With Raspberry Pi + OpenCV + Python

  Рет қаралды 46,669

Core Electronics

Core Electronics

Күн бұрын

Пікірлер: 52
@aaronag7876
@aaronag7876 3 жыл бұрын
Exactly what I needed, as working on a similar project. Thanks
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Glad it helped 😊
@jimherefordbmx
@jimherefordbmx 10 ай бұрын
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
@christopherzaino9443
@christopherzaino9443 11 ай бұрын
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)?
@olliewang7476
@olliewang7476 6 ай бұрын
at 4:27 when i try to open menubox, it says permission denied, do you know why?
@adlernunez
@adlernunez 8 ай бұрын
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.
@99dynasty
@99dynasty 2 жыл бұрын
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?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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.
@rangakaarthi7011
@rangakaarthi7011 Жыл бұрын
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
@Core-Electronics
@Core-Electronics Жыл бұрын
Hit up the KZbin 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 - kzbin.info/www/bejne/Y6nHc5KulKiVeZo
@danyf3116
@danyf3116 2 жыл бұрын
Thanks for the step by step info. Is it possible to use a regular USB camera for these projects ?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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
@MrEspeediE
@MrEspeediE 6 ай бұрын
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!
@Core-Electronics
@Core-Electronics 6 ай бұрын
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
@zoyamchuang2806
@zoyamchuang2806 4 ай бұрын
Could this project change to USB webcam?
@SandbagG45
@SandbagG45 2 жыл бұрын
what are the speed limitations on this if i was to replace the car with say a golf ball?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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.
@anghanquan577
@anghanquan577 2 жыл бұрын
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?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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 - kzbin.info/www/bejne/eH3YemRnbdObsMU
@rossmischnick
@rossmischnick Жыл бұрын
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!
@jackrice1094
@jackrice1094 5 ай бұрын
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.
@aled721
@aled721 Жыл бұрын
It'd be cool if this could add the info into a csv file too.
@aquarium-i2s
@aquarium-i2s Жыл бұрын
Where did you get the camera
@azzezza0921
@azzezza0921 2 жыл бұрын
Hello, can raspberry Pi face detection integrate with ANFIS?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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.
@TARUN__46
@TARUN__46 Жыл бұрын
Hy is it possible to run rasp model b 1 GB Ram and can I use 5 doller raspberry pi cam?
@TANMAYSINGH-rt2zz
@TANMAYSINGH-rt2zz 2 жыл бұрын
sir can you please provide the code link here as i am unable to find it in the guided note
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Big love to Claude, here is his GitHub page on this script - github.com/pageauc/speed-camera
@TANMAYSINGH-rt2zz
@TANMAYSINGH-rt2zz 2 жыл бұрын
@@Core-Electronics thank u so much sir
@faulio
@faulio 3 жыл бұрын
Is it possible to scan a street with 100 different cars a day?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
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.
@jyvben1520
@jyvben1520 3 жыл бұрын
5:00 "ip address : 8 o 8 o", nope, 8080, no letters, also use tab completion for a filename in the current directory
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Cheers for the correction and the tip!
@olliewang7476
@olliewang7476 6 ай бұрын
when i open the menubox, it says failed to start speed cam py, any idea why?
@olliewang7476
@olliewang7476 6 ай бұрын
i think it has something to do with permissions, but im not sure what.
@olliewang7476
@olliewang7476 6 ай бұрын
specifically it says line 60 of the menubox script has permission denied
@Core-Electronics
@Core-Electronics 6 ай бұрын
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!
@juanpaul6141
@juanpaul6141 2 жыл бұрын
Thanks a bunch!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
My pleasure mate 😊
@abhinigam3889
@abhinigam3889 3 жыл бұрын
Can we measure the speed of the ball using this software?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
You absolutely can!
@MC-mi2sh
@MC-mi2sh 2 жыл бұрын
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?
@barrymagno7
@barrymagno7 2 жыл бұрын
Hi Good day! Does raspberry pi 2gb ram will work on this?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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
@barrymagno7
@barrymagno7 2 жыл бұрын
@@Core-Electronics sorry wrong question, im pertaining to raspberry pi 4 with 2gb ram
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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
@barrymagno7
@barrymagno7 2 жыл бұрын
@@Core-Electronics Thank you mate!
@Enigma363
@Enigma363 2 жыл бұрын
my webserver isnt working?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
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 😊
@Burgerhs
@Burgerhs 8 ай бұрын
Bro is Conor Murphy the bodybuilder your bro ? 😮
@mirozbiro
@mirozbiro 8 ай бұрын
I am missing credit to the author of the sw.
@Dirtyharry70585
@Dirtyharry70585 Жыл бұрын
Cool
How To Scan QR Codes With A Raspberry Pi + OpenCV + Python
5:42
Core Electronics
Рет қаралды 43 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Live Object Detection in Python
25:06
NeuralNine
Рет қаралды 156 М.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,6 МЛН
License Plate Detection Demo Using Raspberry Pi Camera
52:14
Data Slayer
Рет қаралды 92 М.
Hand Tracking & Gesture Control With Raspberry Pi + OpenCV + Python
13:02
Raspberry Pi Cameras - The BIG Picture
52:26
DroneBot Workshop
Рет қаралды 509 М.