Traffic Speed Radar (OpenCV/Image Processing)

  Рет қаралды 38,922

DSM Tutorials

DSM Tutorials

Күн бұрын

Пікірлер: 95
@theleadersway980
@theleadersway980 2 жыл бұрын
You saved me from a lot of research hours. Thanks a lot for sharing your project
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@orojasp
@orojasp 2 жыл бұрын
Congrats! Idk really why youtube is recommending me this, maybe bc last days I've been watching vids about proximity sensors (mostly microwave ones). I've seen a couple of options of measuring speed using video processing, same as you propose and I find that a great idea. I enjoy your showing, is very educational. Pd i was searching about microwave ones just for testing funcionalitys over pir or ultrasonic ones
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
Thank you ! What project are you working on?
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@alph4096
@alph4096 2 жыл бұрын
I love your work from japan
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@alexandrecp3183
@alexandrecp3183 3 жыл бұрын
Super cool, congratulations!
@sanjusabu5488
@sanjusabu5488 Жыл бұрын
You saved my BTP, thanks😭
@svetlinzarev3453
@svetlinzarev3453 3 жыл бұрын
Very nice project. Good work!
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@-lh-3439
@-lh-3439 2 жыл бұрын
Can someone plz help me with the speed function? How is 214 calculated?
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@devanshsharma5159
@devanshsharma5159 2 жыл бұрын
Isn't the logic for calculating the time wrong here? You're calculating the time using the wall clock time of the system, which would be slower when you're processing the video ( I assume as that was what happened in my case). I calculated the speed by tracking the frame that the vehicle enters the first region ( or line) and the frame in which it leaves the second region. Dividing by the video's FPS we can get the actual time it took.
@altayerkul9010
@altayerkul9010 Жыл бұрын
your method could fail like you mentioned above imagine your system heats up or it has to process something else so you could get lower fps this might be inaccurate
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@muhammadzaidhasan2848
@muhammadzaidhasan2848 Жыл бұрын
can i get output as vehicle type and corressponding speed with time stamp......preferably in excel format?
@pranav-fl1kz
@pranav-fl1kz 2 жыл бұрын
If we run the whole video it returns a error and summary is also not coming , but if we stop in between everything works fine. Can u please help in this .
@AmhiMalvani-ys3io
@AmhiMalvani-ys3io Жыл бұрын
Hello have you worked on these project using diff video?? Will you plz help me out
@asharazeem3692
@asharazeem3692 3 жыл бұрын
Can you plz assist me in the thing that how to implement it in live traffic and give that live data to arduino and to send this information to every nearby vehicle...so that we can avoid traffic congestion and accidents
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
Hey Ashar, I won't be able to assist you at the moment. But if I do a similar project, I'll let you know
@AmhiMalvani-ys3io
@AmhiMalvani-ys3io Жыл бұрын
Hello have you worked on these project using diff video?? Will you plz help me out
@Kishi1969
@Kishi1969 2 жыл бұрын
Im having a bit problem...here as below File "c:\Users\Asus99\Desktop\PhD-Research-Papers\SpeedRadar-OpenCV-\SpeedRadar2.py", line 29, in frame = cv2.resize(frame, None, fx=0.5, fy=0.5) cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src esize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
@tarikulislam-jw5fh
@tarikulislam-jw5fh 2 жыл бұрын
same goes here
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@Kishi1969
@Kishi1969 2 жыл бұрын
I got the video you used already can you look the issue of frame = cv2.resize(frame, None, fx=0.5, fy=0.5) please
@GameXRants22
@GameXRants22 Жыл бұрын
Great Job
@prashanthvines-dp8dx
@prashanthvines-dp8dx Жыл бұрын
how to make this video work for all different videos
@bxoz3352
@bxoz3352 Жыл бұрын
Would this work perfectly even if the road is horizontal? By computing the necessary value also?
@AmhiMalvani-ys3io
@AmhiMalvani-ys3io Жыл бұрын
Why dataset is not created what if I want to add video other than these
@99dynasty
@99dynasty 2 жыл бұрын
If used from a moving vehicle, detecting the velocity of surrounding vehicles would it work? The speed differentials would be low, >50 kmp
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@itexpert6784
@itexpert6784 2 жыл бұрын
exceed wala folder share kr dyn please??? jis main Images hun
@johnlloyd5047
@johnlloyd5047 Жыл бұрын
Hello, may I ask what kind of testing or analysis did you do for this system review?
@عينالصقر-ذ6غ
@عينالصقر-ذ6غ 2 жыл бұрын
Hello how can i have the file speed record.txt becuse my code give me error and give me the file not find
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@johndilinller9672
@johndilinller9672 2 жыл бұрын
I woud be great if there were an output video. Great Job
@UshieThomas-kd9kv
@UshieThomas-kd9kv Жыл бұрын
Sir thank you so much am also working on the same project. Please can I get the code and videos? To help me out?
@shahidumar6513
@shahidumar6513 3 жыл бұрын
How 214.15 is calculated mathematically? And If 214.15 is the value for this footage does this mean that this project will give false values for other videos and we would have to change this value for other videos in order to get correct values Everytime?
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
Yes, 214.15 is the value for this particular footage. It will vary for other footage. The easiest way to calculate the number is by taking a reference vehicle first, and calculate the speed backwards. (which I used) A more complicated approach would be to take into consideration the distance between the lines, time taken, frame rate and lag due to computation. Also note that the red lines are horizontal as the camera is right above the road. Depending on the footage you are using, you may have to tilt those red lines. (having markings on the road helps)
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@muhammadzaidhasan2848
@muhammadzaidhasan2848 Жыл бұрын
Sir , will it be helpful with 4hr long video.
@מלישר
@מלישר 2 жыл бұрын
Great work. Is their a paper on it? Can u calculate the headway between the vehicles?
@vissuuu69
@vissuuu69 2 жыл бұрын
do you have the video
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
This project does not calculate headway between vehicles, but it is a feasible idea. I haven't made a paper on it
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@deborinabarman9860
@deborinabarman9860 Жыл бұрын
Can someone plz help the metere calculation 214
@uditdp6962
@uditdp6962 2 жыл бұрын
Sir the video you added is not available in the drive anymore I was in need of that video as a reference video for the project. Can you please share the video you used to my mail or add in the drive link you provided
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
I just noticed it accidently got deleted. I put it up again on the same link. Thanks for calling it out.
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@Sovligor_qishlogi
@Sovligor_qishlogi Жыл бұрын
thank you so much
@duniaku642
@duniaku642 3 жыл бұрын
Can anyone help me, why I can't find TEXT FILE SUMMARY in TextEdit? I use macOS
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
You might have to make some changes to the code. TEXT FILE SUMMARY is done in tracker2.py from lines 93-111. 'filet' is the variable that stores the text file
@susheel170
@susheel170 3 жыл бұрын
Great work … Do you know how to calculate trajectory calculations of Vehicles.?
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
Thank you! I haven't worked on trajectory yet...but this video on Murtaza's Workshop might help. kzbin.info/www/bejne/hofXnn5ugdKMpqM It works on the trajectory of Basket Balls
@iswastikmishra
@iswastikmishra 2 жыл бұрын
sir can you re-provide the video you used on this project it seems you have removed that video from your github
@lavitratyagi
@lavitratyagi 2 жыл бұрын
hey can you please provide the link of the video that you used
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
I just noticed it accidently got deleted. I put it up again on the same link. Thanks for calling it out.
@دحوممحمد-خ5ج
@دحوممحمد-خ5ج 3 жыл бұрын
Please fix Error line 17 object_detector = cv2.createBackgroundSubtractorMOG2(history=None, varThreshold=None) typeError: an integer is required (got type NoneType)
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
I think the issue might be the version of opencv.. Are you using PyCharm? It should work there
@adithyamurali-hs5ut
@adithyamurali-hs5ut Жыл бұрын
thanks a lot
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@duanduan3736
@duanduan3736 2 жыл бұрын
you only check live CAM for speed measurement ?
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
This is not a live cam. It is a pre-recorded video
@ikkeniikkewel
@ikkeniikkewel 2 жыл бұрын
good job.
@chandanyadav-dg8eh
@chandanyadav-dg8eh 3 жыл бұрын
Sir, the distance you have taken 214 is in meter pr pixel ?
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
That number differs for different footages. I calculated that number by taking the first car to go at around 50 km/hr. The rest of the vehicles speed would be calculated depending on that.
@Kishi1969
@Kishi1969 2 жыл бұрын
Can you share the Video you use sir?
@itexpert6784
@itexpert6784 2 жыл бұрын
traffic record file is not in source code
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
The traffic record file is created by running the code. The folder stores images (screenshots) from the video. The folder is not required before running the code.
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@nimeshanand4579
@nimeshanand4579 2 жыл бұрын
sir can you assist me in writting a program for classification of vehicles
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
Is this from a live video? What all categories of vehicles are you trying to use? Maybe this video would help. (I have not tried it myself) kzbin.info/www/bejne/jqCwmqmbjsRkkJY
@kurniahadisetiana9123
@kurniahadisetiana9123 3 жыл бұрын
hii sir can you share produk katalog for me because i need solution in indonesia speed radar and Overdimension detection thanks
@dsmtutorials3209
@dsmtutorials3209 3 жыл бұрын
Documentation of this project is available in the Github link provided under "Review 3". Will that do?
@maryamrezaie5203
@maryamrezaie5203 2 жыл бұрын
What radar did you use?
@91-ritikjain36
@91-ritikjain36 2 жыл бұрын
we can also use java sir
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
Yes, you can. However, Python is better to use when it comes to image processing and AI related projects.
@concnew1420
@concnew1420 2 жыл бұрын
Sir import cv2 me error aa rhi hai
@dsmtutorials3209
@dsmtutorials3209 2 жыл бұрын
You have to install the library first before running the program. Try using "pip install opencv-python" in the terminal.
@abdalarmden7382
@abdalarmden7382 2 жыл бұрын
How to read Arabic numbers
@laminemerrad8145
@laminemerrad8145 2 жыл бұрын
Any one Guide me to the paper
@Kishi1969
@Kishi1969 2 жыл бұрын
Good Job and nice video...Please i tried to locate the video but I cant get it. Please can you upload the video please
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@candirenaldi7974
@candirenaldi7974 2 жыл бұрын
love your work, i hope you don't mind if used your code to my project
@kokandarshan4173
@kokandarshan4173 Жыл бұрын
What if I want these to work on diff videos will it work does it requires training or just need to make changes in given code like roi n speed (Also how to set speed for diff vid) .. Plz help my final presentation of BE project is on 2 June it's urgent 🙏🙏
@aymanjamal6130
@aymanjamal6130 Жыл бұрын
حافظين اماكنهم مهما غيروها 😂 انتبهو من طريق الملك فهد وانت داخل من طريق القصيم وجهك جنوب في سرعة ١٠٠ كاميرا وقدام بمسافة بسيطة كامرتين لا تتعدو ١٠٠ انتبهو وعند اللفة حقت الدائري الشمالي في سيارة كورولا توقف على جنب فيها كاميرا على الطبلون انتبهو منها وبعدها ب كيلو واقل كاميرا متحركة
@SmartMorocco
@SmartMorocco 9 ай бұрын
this is a bullshit nothing work
@abhinavaman8008
@abhinavaman8008 2 жыл бұрын
Hi Dhananjay, I am working on a similar kind of project and I want to talk to you related that. I have send you a linked connection request please accept it and we can talk over there.
@AmhiMalvani-ys3io
@AmhiMalvani-ys3io Жыл бұрын
Hello Aman have you implemented these project for diff videos?
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 90 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
OpenCV / Python - Vehicle Speed Detection Camera Example 1
3:32
Matt Cartlidge
Рет қаралды 79 М.
o3-Mini Fully Tested - Coding, Math, and Logic GENIUS
9:58
Matthew Berman
Рет қаралды 4,6 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 444 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,8 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
Object tracking in video with OpenCV and Deep Learning
15:15
Mark Sturdevant
Рет қаралды 148 М.
How this tiny Motor Survived 1.6 BILLION SPINS
12:33
Carl Bugeja
Рет қаралды 521 М.
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,9 МЛН