Detect vehicles speed from CCTV Cameras with Opencv and Deep Learning

  Рет қаралды 71,009

Pysource

Pysource

Күн бұрын

Blog: pysource.com/2021/10/26/speed...
In this tutorial, we will see how to use CCTV camera footage to calculate the vehicle speed detection of each individual vehicle passing on the road
➤ Courses:
Full Computer Vision course: pysource.com/object-detection...
Training Mask R-CNN PRO (Notebook + Mini-Course): pysource.com/mask-rcnn-traini...
➤ Follow me on:
LinkedIn: / pysource
➤ For business inquiries:
pysource.com/contact
#SpeedDetection #OpenCV #DeepLearning

Пікірлер: 53
@pysource-com
@pysource-com 2 жыл бұрын
►► You can Build a Computer Vision software to DETECT and TRACK any Object. → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/
@tamilmanir6730
@tamilmanir6730 2 жыл бұрын
Where can I get this video sources i didn't see in the blog ?
@pysource-com
@pysource-com 2 жыл бұрын
@@tamilmanir6730 the specific video source I used in this project is not available to download.
@marcomaggiotti2330
@marcomaggiotti2330 2 жыл бұрын
Love it, I really like ur motivation and ideas. I also think that there is a lot of potential in cv for ip cameras
@mohammadaliavazpour3268
@mohammadaliavazpour3268 2 жыл бұрын
Your videos helped me a lot , really really thank you
@19_lowisroyfigo76
@19_lowisroyfigo76 Жыл бұрын
Botak Berguna, terimakasih telah memberikan TUTORIAL. GOOD JOB,
@abdulrahmanalshameery7097
@abdulrahmanalshameery7097 2 жыл бұрын
its a great videos i get mini problem where is the full video that you croped it to implement this project
@mohammadaliavazpour3268
@mohammadaliavazpour3268 2 жыл бұрын
Another nice object , Thanks
@NA-cw4pj
@NA-cw4pj Жыл бұрын
TYSM for this video, I love it. But anyone have the code for execute this? Or using the one´s you let us see on the screen could work? I mean at leas the parts we see for every instance in the video. TYSM
@zy.r.4323
@zy.r.4323 Жыл бұрын
Hi Thank you for the tutorial! I am doing similar project but I have some problems when counting objects passing roi. Image distortion in roi causing wrong object counting. I am using nvidia geforce rtx 3090. Help me to fix this problem, please
@aniruddhapaul4729
@aniruddhapaul4729 2 жыл бұрын
can you give the video footage clip?
@anime_on_data7594
@anime_on_data7594 Жыл бұрын
how can we take this implementation to PyTorch yolov5 detection?
@akifakbulut765
@akifakbulut765 Жыл бұрын
where can we find the python file named deep_sort.deep_sort that you used in the video?
@mdkamruzzaman7174
@mdkamruzzaman7174 9 ай бұрын
sir can we measure the distance ? please answer..
@GaryBuck
@GaryBuck 2 жыл бұрын
V good video - you could add a suggestion to calibrate it by driving the road at a known set speed. Then tweak the estimated distance figure to match
@pysource-com
@pysource-com 2 жыл бұрын
Hi Gary, I think the easiest way to get the distance, by not having instruments to do that, is by using google maps. Select on google maps the starting point and the end point and you'll get the distance. Definitely will be more precise than using a own vehicle at a certain speed
@shamrao8723
@shamrao8723 2 жыл бұрын
Hi Sergio, can you make a video where it can determine (heavy congestion, moderate congestion, no/light congestion) based on speed/ number of vehicles passing through point 1 to point 2? This might be very helpful for a student like me who wanted to explore more on object tracking. Thank you.
@feyakut
@feyakut 2 жыл бұрын
Yeah that would be good
@RohitThirukarthick
@RohitThirukarthick 2 жыл бұрын
Hey hi.. can u please give me a guide on detect speed of turbine rotation using opencv plzzz
@hermitking3718
@hermitking3718 Жыл бұрын
I need to capture torpedo speeds for my project those it work underwater.
@haeemnaeem5892
@haeemnaeem5892 Жыл бұрын
kindly upload the vedio which you had uesd
@arslanmanzoor8716
@arslanmanzoor8716 8 күн бұрын
can you please make the video to predict trajectory of multiple objects in different polygon?? i will be thankful to you
@tomasdaels
@tomasdaels 2 жыл бұрын
sergio, could you please make a video where the camera is not fixed? so the vertexces of the area of interest should get refreshed. Thanks!
@pysource-com
@pysource-com 2 жыл бұрын
HI Tomas, please share some video footage of a moving camera and I'll take it into account for further updates
@adampiksel689
@adampiksel689 2 жыл бұрын
Hi Sergio, a question what's the reason of this kind of situation "I have a camera footage from the road, yolo alghoritm does detection quite well, but in length of a few frames exactly same object is detected many times and it's label with number changed" ? Especially it's visible during car passing by.
@pysource-com
@pysource-com 2 жыл бұрын
You need to consider that Detection and Tracking are two separate stages. Once you have object detection in place, you need to implement the algorithm for a proper object tracking, otherwise it's normal that it loses the id.
@loiuc4600
@loiuc4600 2 жыл бұрын
a rewarding video. However, do you have datasets on the velocities of the vehicles for ground truth?
@pysource-com
@pysource-com Жыл бұрын
Nope, I used pretrained models for this example.
@yashdggjs
@yashdggjs 2 жыл бұрын
yolo4 custom pleaseeeee
@hieuvu6543
@hieuvu6543 2 жыл бұрын
plz soucre code ?
@rakotomamonjypaulmazoto7881
@rakotomamonjypaulmazoto7881 Жыл бұрын
Thaks. I have a question. How to get and install object_detection and deep_sort?
@pysource-com
@pysource-com Жыл бұрын
Deep Sort is an open source library that you can find online, but the specific one is a custom implementation that's available only on the course Object Detection (with Opencv and Deep Leraning) pysource.com/object-detection-opencv-deep-learning-video-course/
@thiennguyenchi6862
@thiennguyenchi6862 2 жыл бұрын
Where can I get the deep_sort source like yours sir?
@pysource-com
@pysource-com 2 жыл бұрын
Hi, this code is on the course Object Detection (with Opencv and Deep Learning) on pysource.com
@natdanaiintraraksa7906
@natdanaiintraraksa7906 2 жыл бұрын
Where is deep sort come from? Can I install via pip command?
@pysource-com
@pysource-com 2 жыл бұрын
Deep sort is an open source object tracking algorithm. Its source is available on github but its implementation is not so easy. I've created a custom and simple implamentation of deep sort in a few lines of codes and I share that on my videocourse Object Detection with Opencv and Deep Learning.
@rahulsinghvwymycpdzg1714
@rahulsinghvwymycpdzg1714 2 жыл бұрын
hello sir which software are using in programming
@pysource-com
@pysource-com 2 жыл бұрын
I use pycharm
@nhomlaptrinhcode
@nhomlaptrinhcode 2 жыл бұрын
Can you send me the car footage in that video.
@sabirineel-harchali8675
@sabirineel-harchali8675 2 жыл бұрын
thanks for your amazing video i need this video_test plzz
@Kishi1969
@Kishi1969 2 жыл бұрын
Dear sir...You did not put the code of this in your site "Detect vehicles speed from CCTV Cameras with Opencv and Deep Learning" can you let me know where i can download it sir
@pysource-com
@pysource-com 2 жыл бұрын
Hi, this code is not available to download
@Kishi1969
@Kishi1969 2 жыл бұрын
@@pysource-com OK Sir but how to follow on this program then Sir?
@codewithkhizer4943
@codewithkhizer4943 2 жыл бұрын
code
@endotherm
@endotherm 5 ай бұрын
You wouldn't just use the distance from one side of the roundabout to the other, that would be a straight line. The actual track the vehicles take would be a curved path so you would need to do some math to calculate the circumference of the roundabout and the length of the segment used. Otherwise the estimated speeds are going to come out slower than they are actually travelling -- they need to go faster along the curved route to get to the exit in the same time as a straight line calculation.
@happypumpkinpm7434
@happypumpkinpm7434 2 жыл бұрын
Thanks for the video. I want to give my thoughts about this. 16seconds traveling time does not seem correct. I do not think that is a 65 meters distance, it is lower than that. The time that you are calculating is not the actual traveling time, you are calculating the processing time in your computer. You are using deep sort (heavy computation), the processing time is slow, which makes time look longer and in fact that is due to the slow processing. Your timing should be based on the entering and exiting frame rather than time based on processing. You are considering that delay for calculating time here which is not accurate.
@pysource-com
@pysource-com 2 жыл бұрын
I do totally agree with what you say. This project needs to be considered purely as a demonstration. I would say that with an accurate calibration and also with the exact timestamp of each single frame we can get a very good accuracy.
@arivarasan1548
@arivarasan1548 11 ай бұрын
Hi @happypumpkinpm7434, I think the time that's calculated is not the system processing time, it should be the actual travel time. As the timestamp is captured based on the vehicle's position in the frame, it should be the approximate travel time.
@sharank5724
@sharank5724 2 жыл бұрын
Can you share the source code for this ??
@alone_legends
@alone_legends Жыл бұрын
Can we delete CCTV footage and replace it with another CCTV footage
@marinenav8
@marinenav8 2 жыл бұрын
👍
@marinenav8
@marinenav8 2 жыл бұрын
There are example source code ?
@faysalnazmul7240
@faysalnazmul7240 2 жыл бұрын
Sir, would you give me the code for free?
Predict trajectory of an Object with Kalman filter
31:30
Pysource
Рет қаралды 53 М.
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 44 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 6 МЛН
Balloon Pop Racing Is INTENSE!!!
01:00
A4
Рет қаралды 15 МЛН
Computer Vision for Football Analysis in Python with Yolov8 & OpenCV
23:51
Machine Learning With Hamza
Рет қаралды 33 М.
REAL TIME OBJECT MEASUREMENT | OpenCV Python (2020)
53:25
Murtaza's Workshop - Robotics and AI
Рет қаралды 235 М.
YOLOv5 training with custom data
20:29
DeepLearning
Рет қаралды 398 М.
Computer Vision With Arduino |  2 Hour Course | OpenCV Python
2:05:07
Murtaza's Workshop - Robotics and AI
Рет қаралды 2,7 МЛН
OpenCV Object Detection in Games Python Tutorial #1
14:30
Learn Code By Gaming
Рет қаралды 252 М.
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 210 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 148 М.
The Truth About Learning Python in 2024
9:38
Internet Made Coder
Рет қаралды 88 М.
Готовый миниПК от Intel (но от китайцев)
36:25
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 8 МЛН
САМЫЙ дешевый ПК с OZON на RTX 4070
16:16
Мой Компьютер
Рет қаралды 113 М.
Клавиатура vs геймпад vs руль
0:47
Balance
Рет қаралды 994 М.