filmov
tv
How to Build a Traffic Counter with Python and OpenCV | Computer Vision Project

Показать описание
Here I share one of my first computer vision projects with Python and OpenCV to perform traffic counting. Learn how you can do it yourself by following the guide.
Please consider liking the video and subscribing to the channel.
My script does not use fancy machine learning techniques to detect cars. Rather, it uses the method of a running average of the background and background subtraction to detect motion, but it does not have an internal representation for a vehicle.
I included a nice animation explaining my workaround to a proper object-tracking method. The reason for this is that I originally intended to use my script with a Raspberry Pi so I needed to keep computational costs down to the minimum.
As I mentioned in the description, the link to the GitHub repository with the code is down below:
I will also be occasionally writing Python related posts in my blog here:
CREDITS
- The background music was obtained from the YouTube Audio Library.
OTHER VIDEOS YOU MIGHT LIKE
MY GEAR:
CHECK MY OTHER CHANNELS:
º My new animation and artsy-type channel:
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I'm providing I may receive a small commission. This is at no additional cost to you! Thank you for supporting my channel this way.
TIMESTAMPS
00:00 - Channel intro
01:00 - Background Subtraction
02:01 - Object Tracking
02:30 - Object Tracking Animation
04:11 - Code Explained
05:52 - Running Script
06:50 - Command Line Arguments
#andresberejnoi #computervision #opencv
Please consider liking the video and subscribing to the channel.
My script does not use fancy machine learning techniques to detect cars. Rather, it uses the method of a running average of the background and background subtraction to detect motion, but it does not have an internal representation for a vehicle.
I included a nice animation explaining my workaround to a proper object-tracking method. The reason for this is that I originally intended to use my script with a Raspberry Pi so I needed to keep computational costs down to the minimum.
As I mentioned in the description, the link to the GitHub repository with the code is down below:
I will also be occasionally writing Python related posts in my blog here:
CREDITS
- The background music was obtained from the YouTube Audio Library.
OTHER VIDEOS YOU MIGHT LIKE
MY GEAR:
CHECK MY OTHER CHANNELS:
º My new animation and artsy-type channel:
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I'm providing I may receive a small commission. This is at no additional cost to you! Thank you for supporting my channel this way.
TIMESTAMPS
00:00 - Channel intro
01:00 - Background Subtraction
02:01 - Object Tracking
02:30 - Object Tracking Animation
04:11 - Code Explained
05:52 - Running Script
06:50 - Command Line Arguments
#andresberejnoi #computervision #opencv
Комментарии