Source code: pysource.com/2021/01/28/objec...
You will learn in this video how to Track objects using Opencv with Python.
In this specific lesson we will focus on two main steps: on the first one we will do Object detection and on the second one Object tracking.
➤ Full Videocourses:
Object Detection: pysource.com/object-detection...
➤ Follow me on:
Instagram: / pysource7
LinkedIn: / pysource
➤ For business inquiries:
pysource.com/contact
►► You can Build a Computer Vision software to DETECT and TRACK any Object. → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/
The way this person is delivering these complicated stuffs regarding Open CV and OT, hats off man for your contribution towards the KZhead Community. Do try to make a playlist or video regarding implementation of GANNs tensorflow models along with Opened CV, like Real Time image to image translation using Cycle GANNs. By the way lots if love from this Subscriber 😊
Thank you for explaining each and every line of code clearly. Great help. Keep uploading videos like this
Wow this was quite useful and well explained. Thank you and God bless your work!!!
Dude! Not only have you helped me to finally set up opencv but you have even made my first steps easier in my own project with your demo. ❤ Hint to all who have troubles with the namespace in build.gradle: try to adjust the gradle plugin version under project structure > project. 7.2 worked for me.
Thank you so much men! I do appreciate your kindness and efforts for sharing this great script even for free. It helps a lot, especillay for many students who are with empty pockets! Gracias!
Thanks, to you Sergio Canu, you have resolved much of our issues. thanks to you from the core of our hearts.
Today I installed opencv, it was a long day of tutorials but this one was super super clear! Thanks a lot!
super charge
this was really awesome and thank you for the code
Thanks for sharing the knowledge and resources. For the information of the fellow viewers/commenters.. I implemented his code in VS Code in Windows 10. 2 errors and following had to be done as it threw some error when I attempted to run it: 1. install "pip install tracker" --> Refresh VS code 2. Make sure that the specified folder path of the video and code are same. Files --> Open Folder--> Object-Tracking.
This really isn’t a tutorial on object tracking as the title promises. It’s a (good) tutorial for visual object detection and then a single-line black box function that does all the tracking with no explanation of its operation, just it’s use.
Can Using visual video code to run?
perfect and much needed for me to understand OPENCV
Thanks man! This helps me to complete my assignment on object tracking using OpenCV
I really enjoy watching your videos and they are quite helpful at same time. thanks for sharing this with us
Best tutorial ever!!!! Thanks a lot for your time and clear explanation, cheers!!!
Thank you for your detailed explanation on object Tracking :)
Thank you very much for making this video; concepts are clearly explained.
i'm newbie to opencv , u explanations are far better than my lectures....thansks a lot sir.....
Thanks for the insight, you have taken my python-programming to another higher level!! Great fun too.
Solid explanation to initiate into the field
Excellent👍, thanks for sharing the codes of the project to us to learn it well
Thanks a lot for this amazing tutorial !!!
BEST youtube channel!
Thanks I finally got a good starter tutorial
Thank you for the video sir, I have spent weeks to do this traffic counting and none that I found work for me. Thank you so much for the tutorial!
Bravo Sergio! Maestro!
我來自台灣,謝謝你的教導,感謝!!
This is just great. Many many thanks 👍
We used it for our study. Thank you.
Thank you so much men! I want to study follow your ! 👍
Hey! Thanks a lot for the video! Very helpful! Tell me, how can I record the coordinates of landmarks in a json file?
Sir, thank you for the video with a detailed explanation. If I want the program to execute on two different videos at a time is that possible. If yes please tell the way
It’s great, it makes me think python is awesome, and I start to like it.Thankyou!
Perfect and much needed video , thank you 🙏. Can you PLEASE make a video on camera calibration without using the checker board (I mean by using methods inside opencv like PnP method etc...)
Awesome ❤️👍 thank you so much.
Thanks man! Great tutorial ;)
your tutorial method is wonderful ...
Subscribed! A very beautiful explanation and examples
Thank you. Super lecture. Very insteresting.
Thank you Sérgio!
this is a really awesome explanation of each and every step u explained very well. sir if I want further vehicle classification can you please say how I supposed to do it..
wow, you explain very well, trank u bro!
Well done!! Thanks!!
Dude, thanks for this video!
Th aks dude, done such amaizing work explaining this,please consider license plate recognition in real-time from a video feed. Stay safe and keep it up. SUBED & 👍🏾 Greetings from Tanzania 🇹🇿
Amazing video, thank you 👍
very very awesome, thank you
beautifully perfect!!!!!
Can you do a lesson on calculating the size of objects such as fruits and vegetables . Thanks
Thank🎉 from Thailand.
Thank you for the tutoral, very good. i only want to ask one question. How can i restart to zero the id counter?
Awesome ... Great Work
Hi... Thank you for the tutorial.. It's impressive. I have one question. Can we make the animation of moving objects a function of time? the program will run and continuously animation will run??? Thank you
Hey Soumitra, I'm actually trying to do that too and I wondered if you came to a solution. :) I know I'm probably to late asking this, but I will be very happy if you reply. Have a great day
perfect thanks so much
Hey, Could we think something different like this , instead of calculating area could it be that we will track only the moving elements and complete our task. I don't know could it be or not because I'm new in python and opencv too . if it can please tell. And thank you for sharing such a nice one project.
Hello . Great explanation, thank you very much. @00:10:44, It is clear that You filtered using area. But I wonder if it is possible to use some of "speed" threshold or a good combination (compound condition) instead of it???
thanks for great video, does it work for moving camera and stable object too?
Thank you so much, please make more tutorials like tNice tutorials. You explain better than any other guide I've seen on youtube, very clear and
Hi! I absolutely love your code, it's so easy to use! I'm having trouble accessing the files to download, I subscribed with multiple email addresses and confirmed them but still didn't get access to the files, is there a problem on my side? :/
Thanks, Are you able to count the demonstrators of a march ?
I am from Vietnam and I'm going to research to count the number of people in CCTV camera but I don't know how to track people. Then, I watch your video and I really like it. It's so helpful for me. I'm so grateful to you. Thank you so much
Thanks for sharing! Keep up the good work 😄
;)
You are the best!
thanks for tutorial !!!!
Awesome video, where can i get traffic footage like that
Congratulations!
Object Tracking starts at 20:25
Hello !! From where can I get tracker.py
Thanks a million
Very nice and understandable, thanks for sharing your experiance +100 for karma ))
Sir do you have any project for hand gesture recognition ? Thanks
Awesome! I use the same method for tracking "alpha numeric " raised numbers and letters on the face of the front dashboard. My problem is that I have to process the images and then convert them for analysis. Do you have any cellular applications? Or desktop?
thank you!
Brother, thanks alot
Are x and y coordinates mean the center point of the rectangle, or are they the corner of the rectangle?
thanks for your excellent video
Thank you !!!
greate job, thanks !!!!
Is there a way to optimize tracker class? In my case, I will use it on a robot which will operate on the roads. Camera will vibrate so I want it to keep vehicles' ids even though the camera vibrates.
A very nice tutorial, Thanks. I would like to save images for every single car (instead of every frame) inside the rectangle from the video. How to do that please?
I would assume you have to set a way to save the video from once it detects a specific car or motorcycle and end said video clip recording once that object is gone.
waitng for the 2nd part of the video
thanks man sir
Thanks bro
much appreciated.
very interesting!! Just a question..Does the counter skip vehicles?? Greetings from Greece and keep safe!
It doesn't skip them, but the problem is the detection not being so precise so too many IDs are added that are not veichles. Even if the ID counting is wrong, still it would be possible to make a precise counting by drawing a line and considering only the id crossing that line. In this way we would avoid false/positives
Very interesting video. Is there some way to get the time that a vehicle pass through two lines in the highway and register this times in a excel sheet?
Good video :). My brother which raspberry pi version can work efficiently (No lag i mean) in real time object tracking or detection? @Pysource I will buy a raspberry pi soon.
All raspberry pi versions are too weak for Object Detection in real time, especially if you use deep learning. I recommend to get a Nvidia Jetson Nano. it's cheap and fits better for this purpose
thank you so much
can i use vlc window panel as a motion capture ?. cuz i want be able to change the video source :)
Thank u, Dear. Bro
thank you...
You should track by volume or height
It's great!
its great ... free source codes. keep posting free codes.
really cool tutorial, thank you! One question tho; in the video example the detection number 12 gets updated to 13, although its the same object - how do you deal with these cases? is there a good way to clean up these detections so you don't tag the same object multiple times and increment its number when its not necessary? thanks!
this should be considered only as an exercise to learn more about tracking and computer vision. For a more robust tracking, it's necessary to integrate deep learning object detection and tracking algorithms.
@@pysource-com gotcha :D thanks for the reply :)
Thank you
Thats awesome
May I ask how to export the location of the object (x,y,w,h) into a CSV file?
What if I wanna do this live. Like from a streaming camera ? Or from live video playback
hi. great tutorial. Can we apply this technique to our cctvs? Thanks.
Nope, this is a very simple object tracking to be considered only good as an exercise. To make things reliable and precise on CCTV it's necessary to use object detection with deep learning and some algorithms for a reliable tracking when there is occlusion
thank you very much, great Tutorial! My Problem is that the Object has many Shadows, reflected from the Street and from the Window from the Car. do you have there a solution for?
Yes,. Consider this is just one of the many approches possible. The most reliable one will be integrating deep learning with Opencv and object tracking, and you can have an accuracy close to 100%
@@pysource-com so this example is not based on deep learning, right?