Object Tracking with Opencv and Python

  Рет қаралды 587,101

Pysource

Pysource

3 жыл бұрын

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

Пікірлер: 315
@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/
@Nonsanity
@Nonsanity 2 жыл бұрын
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.
@doraemondd6876
@doraemondd6876 8 ай бұрын
Can Using visual video code to run?
@Suman-zm7wx
@Suman-zm7wx 2 жыл бұрын
The way this person is delivering these complicated stuffs regarding Open CV and OT, hats off man for your contribution towards the KZfaq 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 😊
@tomasdaels
@tomasdaels 2 жыл бұрын
Today I installed opencv, it was a long day of tutorials but this one was super super clear! Thanks a lot!
@jawadmansoor6064
@jawadmansoor6064 2 жыл бұрын
super charge
@hetalivekariya7415
@hetalivekariya7415 2 жыл бұрын
Thank you for explaining each and every line of code clearly. Great help. Keep uploading videos like this
@bolzanoitaly8360
@bolzanoitaly8360 2 жыл бұрын
Thanks, to you Sergio Canu, you have resolved much of our issues. thanks to you from the core of our hearts.
@Endredos
@Endredos 11 ай бұрын
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.
@chun5310
@chun5310 2 жыл бұрын
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!
@dogarayunanagani6986
@dogarayunanagani6986 3 жыл бұрын
Wow this was quite useful and well explained. Thank you and God bless your work!!!
@abc-co7fy
@abc-co7fy 3 жыл бұрын
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.
@dennisasamoah2213
@dennisasamoah2213 3 жыл бұрын
this was really awesome and thank you for the code
@julianboulevard
@julianboulevard Ай бұрын
Best tutorial ever!!!! Thanks a lot for your time and clear explanation, cheers!!!
@dhamotharan1734
@dhamotharan1734 8 ай бұрын
Thanks man! This helps me to complete my assignment on object tracking using OpenCV
@praketasaxena
@praketasaxena 2 жыл бұрын
perfect and much needed for me to understand OPENCV
@snake6458
@snake6458 2 жыл бұрын
我來自台灣,謝謝你的教導,感謝!!
@flashdash4694
@flashdash4694 3 жыл бұрын
Thanks for the insight, you have taken my python-programming to another higher level!! Great fun too.
@RodrigoPacheco-Ruiz
@RodrigoPacheco-Ruiz Жыл бұрын
Bravo Sergio! Maestro!
@thecontrolenggeek786
@thecontrolenggeek786 Жыл бұрын
I really enjoy watching your videos and they are quite helpful at same time. thanks for sharing this with us
@mrpoeky2527
@mrpoeky2527 2 жыл бұрын
Thank you for your detailed explanation on object Tracking :)
@thinkingahead2233
@thinkingahead2233 Жыл бұрын
Thank you very much for making this video; concepts are clearly explained.
@manakavoo
@manakavoo 7 ай бұрын
i'm newbie to opencv , u explanations are far better than my lectures....thansks a lot sir.....
@PotatoMan1491
@PotatoMan1491 3 жыл бұрын
Solid explanation to initiate into the field
@ArimAhiru
@ArimAhiru Жыл бұрын
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!
@dedisupardi2815
@dedisupardi2815 2 жыл бұрын
Excellent👍, thanks for sharing the codes of the project to us to learn it well
@levienkon
@levienkon 11 ай бұрын
Thanks I finally got a good starter tutorial
@hanshima_
@hanshima_ 2 жыл бұрын
Thanks a lot for this amazing tutorial !!!
@juliendu46
@juliendu46 2 жыл бұрын
BEST youtube channel!
@daylinewsru
@daylinewsru 2 жыл бұрын
Hey! Thanks a lot for the video! Very helpful! Tell me, how can I record the coordinates of landmarks in a json file?
@deepanjan1234
@deepanjan1234 3 жыл бұрын
This is just great. Many many thanks 👍
@vittal255
@vittal255 3 жыл бұрын
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
@user-zr8lu5rp5i
@user-zr8lu5rp5i Жыл бұрын
We used it for our study. Thank you.
@takedowntheccp.5167
@takedowntheccp.5167 2 жыл бұрын
Thank you so much men! I want to study follow your ! 👍
@Mustafff76
@Mustafff76 3 жыл бұрын
Thanks man! Great tutorial ;)
@talhayousuf4599
@talhayousuf4599 3 жыл бұрын
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...)
@ECERMANASAK
@ECERMANASAK 2 жыл бұрын
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..
@yem.t.3930
@yem.t.3930 11 ай бұрын
Subscribed! A very beautiful explanation and examples
@eskelex
@eskelex 3 жыл бұрын
Well done!! Thanks!!
@dhruvdwivedy4192
@dhruvdwivedy4192 3 жыл бұрын
Awesome ❤️👍 thank you so much.
@bryansneydergomez4870
@bryansneydergomez4870 2 жыл бұрын
wow, you explain very well, trank u bro!
@user-bf2vb9gj1d
@user-bf2vb9gj1d 2 жыл бұрын
It’s great, it makes me think python is awesome, and I start to like it.Thankyou!
@Car_Ram_Rod
@Car_Ram_Rod 2 жыл бұрын
Dude, thanks for this video!
@joaoperolimasaar
@joaoperolimasaar 3 жыл бұрын
Thank you Sérgio!
@BystroCoder
@BystroCoder 2 жыл бұрын
Thank you. Super lecture. Very insteresting.
@vahabmspour6336
@vahabmspour6336 2 жыл бұрын
your tutorial method is wonderful ...
@vanthoduong3062
@vanthoduong3062 2 жыл бұрын
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
@locomotech6302
@locomotech6302 5 ай бұрын
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???
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
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 🇹🇿
@lorenzowinger5831
@lorenzowinger5831 2 жыл бұрын
Thank you for the tutoral, very good. i only want to ask one question. How can i restart to zero the id counter?
@joshuajohn4404
@joshuajohn4404 2 жыл бұрын
Amazing video, thank you 👍
@hamizanahmad5879
@hamizanahmad5879 3 жыл бұрын
Awesome video, where can i get traffic footage like that
@addkik
@addkik Жыл бұрын
Awesome ... Great Work
@alirezairani2876
@alirezairani2876 10 ай бұрын
thanks for great video, does it work for moving camera and stable object too?
@coco_child
@coco_child 2 жыл бұрын
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.
@cyrillaurencerameaualbon1637
@cyrillaurencerameaualbon1637 2 жыл бұрын
Thanks, Are you able to count the demonstrators of a march ?
@ozcanyureklioglu6249
@ozcanyureklioglu6249 3 жыл бұрын
very very awesome, thank you
@TheGupex
@TheGupex 27 күн бұрын
Thank🎉 from Thailand.
@phaminhhoang4478
@phaminhhoang4478 9 ай бұрын
Can you do a lesson on calculating the size of objects such as fruits and vegetables . Thanks
@jeanzyx1707
@jeanzyx1707 2 жыл бұрын
beautifully perfect!!!!!
@mesaanugerah
@mesaanugerah Жыл бұрын
Thanks for sharing! Keep up the good work 😄
@pysource-com
@pysource-com Жыл бұрын
;)
@andriyyarish8628
@andriyyarish8628 3 жыл бұрын
Very nice and understandable, thanks for sharing your experiance +100 for karma ))
@falconvisionuav
@falconvisionuav 2 ай бұрын
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?
@wiktoriarajewicz3775
@wiktoriarajewicz3775 9 ай бұрын
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? :/
@cyrillekesiku2450
@cyrillekesiku2450 3 жыл бұрын
perfect thanks so much
@lynx6632
@lynx6632 3 жыл бұрын
thanks for tutorial !!!!
@TechnicalAdnan786
@TechnicalAdnan786 Жыл бұрын
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
@jadavpur4
@jadavpur4 3 жыл бұрын
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
@fussballsuchti5661
@fussballsuchti5661 Жыл бұрын
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
@dkibe6006
@dkibe6006 3 жыл бұрын
You are the best!
@nailaydogan2241
@nailaydogan2241 3 жыл бұрын
Sir do you have any project for hand gesture recognition ? Thanks
@badiuzzamontashmatov5362
@badiuzzamontashmatov5362 3 жыл бұрын
waitng for the 2nd part of the video
@shuhaozhang7332
@shuhaozhang7332 2 жыл бұрын
Are x and y coordinates mean the center point of the rectangle, or are they the corner of the rectangle?
@matheusmirandapereira5633
@matheusmirandapereira5633 5 ай бұрын
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?
@iwaitucn
@iwaitucn 2 жыл бұрын
greate job, thanks !!!!
@claudiocatucci7028
@claudiocatucci7028 3 жыл бұрын
Congratulations!
@fettahyldz460
@fettahyldz460 2 жыл бұрын
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.
@XuanKyAutomation
@XuanKyAutomation 2 жыл бұрын
thanks for your excellent video
@amalambro8914
@amalambro8914 2 жыл бұрын
Nice one
@farihaafrin1803
@farihaafrin1803 3 жыл бұрын
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?
@DennisJDuran
@DennisJDuran 2 жыл бұрын
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.
@arendelle_ok
@arendelle_ok 2 жыл бұрын
can i use vlc window panel as a motion capture ?. cuz i want be able to change the video source :)
@ferhadselmanpur1205
@ferhadselmanpur1205 3 жыл бұрын
Hiii , Can you make a video about image edge detection?
@taoliblack
@taoliblack 2 жыл бұрын
Is it possible to use an external camera as a video source?
@nurbaini4308
@nurbaini4308 11 ай бұрын
Brother, thanks alot
@mohamedkarabij6673
@mohamedkarabij6673 Жыл бұрын
Thanks a million
@truepath100
@truepath100 2 жыл бұрын
its great ... free source codes. keep posting free codes.
@DennisJDuran
@DennisJDuran 2 жыл бұрын
What if I wanna do this live. Like from a streaming camera ? Or from live video playback
@ZipovUA
@ZipovUA 3 ай бұрын
thank you!
@Netalon
@Netalon 2 жыл бұрын
Thank you !!!
@cvic7143
@cvic7143 2 жыл бұрын
May I ask how to export the location of the object (x,y,w,h) into a CSV file?
@lusher00
@lusher00 2 жыл бұрын
much appreciated.
@ddarhe
@ddarhe 2 жыл бұрын
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!
@pysource-com
@pysource-com 2 жыл бұрын
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.
@ddarhe
@ddarhe 2 жыл бұрын
@@pysource-com gotcha :D thanks for the reply :)
@byurcik
@byurcik Жыл бұрын
is there some code or resource to leave a 'tail' that traces the path of the rider?
@qwerty_____146
@qwerty_____146 2 жыл бұрын
Thank u, Dear. Bro
@gsunil3697
@gsunil3697 2 жыл бұрын
Bro,Is it possible to classify vehicles based on their size.plz help me.
@umarmuhammadi429
@umarmuhammadi429 2 жыл бұрын
Nice video How do I implement this using YOLO v5
@GYETTORE
@GYETTORE 3 жыл бұрын
It's great!
@jessel9389
@jessel9389 2 жыл бұрын
Thats awesome
@rog0079
@rog0079 3 жыл бұрын
Object Tracking starts at 20:25
@HarshaSravani--c
@HarshaSravani--c 2 жыл бұрын
Hello !! From where can I get tracker.py
@dimitheodoro
@dimitheodoro 3 жыл бұрын
very interesting!! Just a question..Does the counter skip vehicles?? Greetings from Greece and keep safe!
@pysource-com
@pysource-com 3 жыл бұрын
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
@k-series4036
@k-series4036 2 жыл бұрын
How do you connect your program with a camera
@Raj-sz9pg
@Raj-sz9pg 3 жыл бұрын
thanks man sir
@Edxylom
@Edxylom 2 жыл бұрын
Thanks bro
Object Tracking from scratch with OpenCV and Python
1:00:13
Pysource
Рет қаралды 228 М.
ISSEI funny story😂😂😂Strange World | Pink with inoCat
00:36
ISSEI / いっせい
Рет қаралды 26 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 59 МЛН
OpenAI SHOCKED Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Рет қаралды 44 М.
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 210 М.
Predict trajectory of an Object with Kalman filter
31:30
Pysource
Рет қаралды 53 М.
OpenCV Tutorial in 5 minutes - All Modules Overview
5:33
The Data Science Channel
Рет қаралды 3,4 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 288 М.
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 3 МЛН
Train YOLO to detect a custom object (online with free GPU)
27:56