Добавить
Уведомления

Measure Speed With Raspberry Pi + OpenCV + Python

Actively determine speed of objects of any size (be it a vehicle, person, or matchbox car) via a live feed. Then use the object's speed to control GPIO! Full Article - https://core-electronics.com.au/tutorials/detect-speed-raspberry-pi.html Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide. Related Information Flashing 'Buster' OS onto a Raspberry Pi - https://core-electronics.com.au/tutorials/flash-buster-os-pi.html Facial Recognition Raspberry Pi - https://core-electronics.com.au/tutorials/face-identify-raspberry-pi.html Face and Movement Tracking System For Raspberry Pi - https://core-electronics.com.au/tutorials/Face-Tracking-Raspberry-Pi.html Object and Animal Recognition With Raspberry Pi - https://core-electronics.com.au/tutorials/object-identify-raspberry-pi.html Hand Tracking & Gesture Control With Raspberry Pi - https://core-electronics.com.au/tutorials/hand-identification-raspberry-pi.html Use Your Phone to Control Your Raspberry Pi - https://core-electronics.com.au/tutorials/raspcontrol-raspberry-pi.html LED Control with Raspberry Pi - https://www.youtube.com/watch?v=x8kRK0DIIF8 Speed Camera Software Claude Pageau - https://github.com/pageauc/speed-camera Cameras in combination with artificial intelligence create arguably the most powerful sensor you can ever put on a Raspberry Pi and it has never been easier to try it out yourself. By the time I'm done here we will be able to use the video data coming in to determine accurately the speed of moving objects. Open-CV, which is a huge resource that helps solve real-time computer vision and image processing problems, will be used here to determine what is a moving object. The open-source software will then compare two photos and (from some trigonometry and known distances) infer the speed of that object. Then! It will take the second compared image, provide it with a timestamp, slapping the file location and the speed of the object onto it, save it and upload it to a local network website. These photos can then be accessed through a website from any machine on your local network and are stored indefinitely on the Pi. Then having all that under your belt I will take it a step further and use the recorded speed of the object to control physical hardware (in this case whenever a recorded object goes faster than 0.5km/h it will turn on a LED light). A huge thank you to Claude Pageau whose created the amazing fully fledged speed camera software, it is already brilliant and there is just so much potential to take projects to the next level. If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - http://coreelec.io/forum Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for: Raspberry Pi 4 Model B (4GB) Ultimate Kit Bundle (AVALIABLE!) - https://core-electronics.com.au/raspberry-pi-4-4gb-ultimate-kit.html Raspberry Pi 4 Model B 4GB: https://core-electronics.com.au/catalog/product/view/sku/CE06425 Raspberry Pi High Quality Camera (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06935 Raspberry Pi 6mm Wide Angle Camera Lens (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06937 Raspberry Pi Official Camera Module V2 : https://core-electronics.com.au/catalog/product/view/sku/CE04421 Great Electronic Starter Kit by Kitronik (Breadboard, LEDs, Resistors + heaps more): https://core-electronics.com.au/catalog/product/view/sku/CE06405 Raspberry Pi 4 Power Supply: https://core-electronics.com.au/catalog/product/view/sku/CE06427 0:00 Intro 0:12 Video Overview 0:27 Open-CV and Software Features 1:03 A Glimpse of the Pay-Off 1:10 What You Need 1:43 Initial Set Up and Terminal Commands 4:11 Best Way to Run the Code 4:39 Demonstration! 5:12 Configuration and Live Preview 6:13 Calibrate Software 7:50 Camera Settings 8:34 GPIO Control Via 'High Speed Activity' 10:00 Acknowledgements 10:10 Outro

Иконка канала Разработка и Доход
22 подписчика
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Actively determine speed of objects of any size (be it a vehicle, person, or matchbox car) via a live feed. Then use the object's speed to control GPIO! Full Article - https://core-electronics.com.au/tutorials/detect-speed-raspberry-pi.html Make sure to use the Previous Raspberry Pi 'Buster' OS with this Guide. Related Information Flashing 'Buster' OS onto a Raspberry Pi - https://core-electronics.com.au/tutorials/flash-buster-os-pi.html Facial Recognition Raspberry Pi - https://core-electronics.com.au/tutorials/face-identify-raspberry-pi.html Face and Movement Tracking System For Raspberry Pi - https://core-electronics.com.au/tutorials/Face-Tracking-Raspberry-Pi.html Object and Animal Recognition With Raspberry Pi - https://core-electronics.com.au/tutorials/object-identify-raspberry-pi.html Hand Tracking & Gesture Control With Raspberry Pi - https://core-electronics.com.au/tutorials/hand-identification-raspberry-pi.html Use Your Phone to Control Your Raspberry Pi - https://core-electronics.com.au/tutorials/raspcontrol-raspberry-pi.html LED Control with Raspberry Pi - https://www.youtube.com/watch?v=x8kRK0DIIF8 Speed Camera Software Claude Pageau - https://github.com/pageauc/speed-camera Cameras in combination with artificial intelligence create arguably the most powerful sensor you can ever put on a Raspberry Pi and it has never been easier to try it out yourself. By the time I'm done here we will be able to use the video data coming in to determine accurately the speed of moving objects. Open-CV, which is a huge resource that helps solve real-time computer vision and image processing problems, will be used here to determine what is a moving object. The open-source software will then compare two photos and (from some trigonometry and known distances) infer the speed of that object. Then! It will take the second compared image, provide it with a timestamp, slapping the file location and the speed of the object onto it, save it and upload it to a local network website. These photos can then be accessed through a website from any machine on your local network and are stored indefinitely on the Pi. Then having all that under your belt I will take it a step further and use the recorded speed of the object to control physical hardware (in this case whenever a recorded object goes faster than 0.5km/h it will turn on a LED light). A huge thank you to Claude Pageau whose created the amazing fully fledged speed camera software, it is already brilliant and there is just so much potential to take projects to the next level. If you have any questions about this content or want to share a project you're working on head over to our maker forum, we are full time makers and here to help - http://coreelec.io/forum Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for: Raspberry Pi 4 Model B (4GB) Ultimate Kit Bundle (AVALIABLE!) - https://core-electronics.com.au/raspberry-pi-4-4gb-ultimate-kit.html Raspberry Pi 4 Model B 4GB: https://core-electronics.com.au/catalog/product/view/sku/CE06425 Raspberry Pi High Quality Camera (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06935 Raspberry Pi 6mm Wide Angle Camera Lens (Used Here): https://core-electronics.com.au/catalog/product/view/sku/CE06937 Raspberry Pi Official Camera Module V2 : https://core-electronics.com.au/catalog/product/view/sku/CE04421 Great Electronic Starter Kit by Kitronik (Breadboard, LEDs, Resistors + heaps more): https://core-electronics.com.au/catalog/product/view/sku/CE06405 Raspberry Pi 4 Power Supply: https://core-electronics.com.au/catalog/product/view/sku/CE06427 0:00 Intro 0:12 Video Overview 0:27 Open-CV and Software Features 1:03 A Glimpse of the Pay-Off 1:10 What You Need 1:43 Initial Set Up and Terminal Commands 4:11 Best Way to Run the Code 4:39 Demonstration! 5:12 Configuration and Live Preview 6:13 Calibrate Software 7:50 Camera Settings 8:34 GPIO Control Via 'High Speed Activity' 10:00 Acknowledgements 10:10 Outro

, чтобы оставлять комментарии