Object Tracking with Opencv and Python

  Рет қаралды 624,712

Pysource

Pysource

Күн бұрын

Пікірлер: 319
@pysource-com
@pysource-com 2 жыл бұрын
🔥Learn how to build your own AI vision solutions: pysource.com/community
@tomasdaels
@tomasdaels 3 жыл бұрын
Today I installed opencv, it was a long day of tutorials but this one was super super clear! Thanks a lot!
@jawadmansoor6064
@jawadmansoor6064 3 жыл бұрын
super charge
@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 Жыл бұрын
Can Using visual video code to run?
@dendredi
@dendredi Жыл бұрын
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.
@federicojoelvergelli5698
@federicojoelvergelli5698 4 ай бұрын
Hello, for those following the tutorial, a good enough roi can be ```python roi = frame[int(height/3):, int(width/2)-200:int(width/2)+200] ``` Good tutorial btw.
@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.
@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 KZbin 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 😊
@bolzanoitaly8360
@bolzanoitaly8360 2 жыл бұрын
Thanks, to you Sergio Canu, you have resolved much of our issues. thanks to you from the core of our hearts.
@dennisasamoah2213
@dennisasamoah2213 3 жыл бұрын
this was really awesome and thank you for the code
@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!
@manakavoo
@manakavoo Жыл бұрын
i'm newbie to opencv , u explanations are far better than my lectures....thansks a lot sir.....
@SenthilKumar-yf8pp
@SenthilKumar-yf8pp 5 ай бұрын
This was my first AI program in python. Thanks a lot for teaching this. 🙏🙏🙏
@hetalivekariya7415
@hetalivekariya7415 3 жыл бұрын
Thank you for explaining each and every line of code clearly. Great help. Keep uploading videos like this
@dhamotharan1734
@dhamotharan1734 Жыл бұрын
Thanks man! This helps me to complete my assignment on object tracking using OpenCV
@九宫木柠
@九宫木柠 2 жыл бұрын
It’s great, it makes me think python is awesome, and I start to like it.Thankyou!
@dogarayunanagani6986
@dogarayunanagani6986 3 жыл бұрын
Wow this was quite useful and well explained. Thank you and God bless your work!!!
@julianboulevard
@julianboulevard 7 ай бұрын
Best tutorial ever!!!! Thanks a lot for your time and clear explanation, cheers!!!
@rog0079
@rog0079 3 жыл бұрын
Object Tracking starts at 20:25
@HarshaSravani--c
@HarshaSravani--c 3 жыл бұрын
Hello !! From where can I get tracker.py
@juliendu46
@juliendu46 3 жыл бұрын
BEST youtube channel!
@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!
@RodrigoPacheco-Ruiz
@RodrigoPacheco-Ruiz 2 жыл бұрын
Bravo Sergio! Maestro!
@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
@snake6458
@snake6458 2 жыл бұрын
我來自台灣,謝謝你的教導,感謝!!
@タピオカ-d4t
@タピオカ-d4t 2 жыл бұрын
We used it for our study. Thank you.
@praketasaxena
@praketasaxena 3 жыл бұрын
perfect and much needed for me to understand OPENCV
@levienkon
@levienkon Жыл бұрын
Thanks I finally got a good starter tutorial
@thinkingahead2233
@thinkingahead2233 2 жыл бұрын
Thank you very much for making this video; concepts are clearly explained.
@flashdash4694
@flashdash4694 3 жыл бұрын
Thanks for the insight, you have taken my python-programming to another higher level!! Great fun too.
@thecontrolenggeek786
@thecontrolenggeek786 2 жыл бұрын
I really enjoy watching your videos and they are quite helpful at same time. thanks for sharing this with us
@Nuiversemovement
@Nuiversemovement 10 ай бұрын
Hi i need your help have these punk neighbors who have twicked an algorithm object tracking following me around remotely using my voice and facial recognition. How do i stop them from following me...this is crazy i need helpnim a woman alone and they're abusing us. God bless and thank you
@truepath100
@truepath100 2 жыл бұрын
its great ... free source codes. keep posting free codes.
@mesaanugerah
@mesaanugerah 2 жыл бұрын
Thanks for sharing! Keep up the good work 😄
@pysource-com
@pysource-com 2 жыл бұрын
;)
@falconvisionuav
@falconvisionuav 9 ай бұрын
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?
@addkik
@addkik 2 жыл бұрын
Awesome ... Great Work
@yem.t.3930
@yem.t.3930 Жыл бұрын
Subscribed! A very beautiful explanation and examples
@vahabmspour6336
@vahabmspour6336 2 жыл бұрын
your tutorial method is wonderful ...
@hamizanahmad5879
@hamizanahmad5879 3 жыл бұрын
Awesome video, where can i get traffic footage like that
@locomotech6302
@locomotech6302 11 ай бұрын
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???
@TechnicalAdnan786
@TechnicalAdnan786 2 жыл бұрын
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
@MayurKatre-k1j
@MayurKatre-k1j 10 ай бұрын
From where I can get tracker.py file
@phaminhhoang4478
@phaminhhoang4478 Жыл бұрын
Can you do a lesson on calculating the size of objects such as fruits and vegetables . Thanks
@matheusmirandapereira5633
@matheusmirandapereira5633 Жыл бұрын
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?
@BystroCoder
@BystroCoder 2 жыл бұрын
Thank you. Super lecture. Very insteresting.
@TheGupex
@TheGupex 7 ай бұрын
Thank🎉 from Thailand.
@PotatoMan1491
@PotatoMan1491 3 жыл бұрын
Solid explanation to initiate into the field
@takedowntheccp.5167
@takedowntheccp.5167 2 жыл бұрын
Thank you so much men! I want to study follow your ! 👍
@andresimoes879
@andresimoes879 Жыл бұрын
Anyone having trouble with receiving the email with the necessary files on Pysource website?
@mrpoeky2527
@mrpoeky2527 3 жыл бұрын
Thank you for your detailed explanation on object Tracking :)
@alirezairani2876
@alirezairani2876 Жыл бұрын
thanks for great video, does it work for moving camera and stable object too?
@melis4820
@melis4820 6 ай бұрын
is this a different method that we approach object tracking by using different functions in opencv, do you find it yourself?
@cyrillaurencerameaualbon1637
@cyrillaurencerameaualbon1637 3 жыл бұрын
Thanks, Are you able to count the demonstrators of a march ?
@Hgrewssauujdkhvcjjipp
@Hgrewssauujdkhvcjjipp 2 жыл бұрын
Excellent👍, thanks for sharing the codes of the project to us to learn it well
@amalambro8914
@amalambro8914 3 жыл бұрын
Nice one
@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?
@dan-cj1rr
@dan-cj1rr 3 жыл бұрын
Project idea for tutorial : robot that needs to pick up an object of a certains color with pathfinding and obstacles to dodge.
@whatsupdiv
@whatsupdiv 3 жыл бұрын
DO THIS !!
@ozcanyureklioglu6249
@ozcanyureklioglu6249 3 жыл бұрын
very very awesome, thank you
@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 3 жыл бұрын
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.
@claudiocatucci7028
@claudiocatucci7028 3 жыл бұрын
Congratulations!
@waqarfarooq6036
@waqarfarooq6036 Жыл бұрын
I want to know the exact date and time, when a vehicle entered the frame of video? How do I do it? Supposing we are feeding live video from a camera?
@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...)
@weirdsciencetv4999
@weirdsciencetv4999 9 ай бұрын
Can you do this for mobile camera?
@ahmeetehe6602
@ahmeetehe6602 Жыл бұрын
I do not receive any email, can't sign up
@bryansneydergomez4870
@bryansneydergomez4870 3 жыл бұрын
wow, you explain very well, trank u bro!
@deepanjan1234
@deepanjan1234 3 жыл бұрын
This is just great. Many many thanks 👍
@Car_Ram_Rod
@Car_Ram_Rod 3 жыл бұрын
Dude, thanks for this video!
@hanshima_
@hanshima_ 3 жыл бұрын
Thanks a lot for this amazing tutorial !!!
@Mrnobody-qj7zl
@Mrnobody-qj7zl 2 жыл бұрын
hi. great tutorial. Can we apply this technique to our cctvs? Thanks.
@pysource-com
@pysource-com 2 жыл бұрын
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
@moonx2516
@moonx2516 3 жыл бұрын
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.
@pysource-com
@pysource-com 3 жыл бұрын
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
@umar_muhammad_yaree
@umar_muhammad_yaree 2 жыл бұрын
Nice video How do I implement this using YOLO v5
@XuanKyAutomation
@XuanKyAutomation 2 жыл бұрын
thanks for your excellent video
@thanhtaiphan2651
@thanhtaiphan2651 3 жыл бұрын
Can you explain more about the working of tracker.py file. Thanks u
@HarshaSravani--c
@HarshaSravani--c 3 жыл бұрын
Where is tracker.py file
@pablodelbachi5286
@pablodelbachi5286 2 жыл бұрын
Can you do the same for the number of people demonstrating? Thank you
@DennisJDuran
@DennisJDuran 3 жыл бұрын
What if I wanna do this live. Like from a streaming camera ? Or from live video playback
@robotsj2775
@robotsj2775 2 жыл бұрын
Sir where is tracker.py Is that pip install django-request-tracker If it is so then i am getting error saying Error in module and not in pip Please guide me
@arielfuentes7439
@arielfuentes7439 2 жыл бұрын
It is a custom made function
@joshuajohn4404
@joshuajohn4404 2 жыл бұрын
Amazing video, thank you 👍
@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 :)
@alexbrooyservice3354
@alexbrooyservice3354 2 жыл бұрын
Do you have a tutorial, where object is not moving on background, but camera moves towards object?
@pysource-com
@pysource-com 2 жыл бұрын
Yes, on my videos on youtube you can find something about a drone moving and detecting the crops in the field
@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?
@AlexTheKid85
@AlexTheKid85 3 жыл бұрын
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?
@pysource-com
@pysource-com 3 жыл бұрын
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%
@pppaulpeter
@pppaulpeter 2 жыл бұрын
@@pysource-com so this example is not based on deep learning, right?
@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 2 жыл бұрын
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
@badiuzzamontashmatov5362
@badiuzzamontashmatov5362 3 жыл бұрын
waitng for the 2nd part of the video
@Kishi1969
@Kishi1969 3 жыл бұрын
Sir you said we should check one of your program "Object detection with opencv and Deep learning " but i can't find the lecture.. Please can you send me the KZbin link please 🙏🙏🙏
@falconvisionuav
@falconvisionuav 9 ай бұрын
You should track by volume or height
@jeanzyx1707
@jeanzyx1707 2 жыл бұрын
beautifully perfect!!!!!
@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 🇹🇿
@ahmadrahmani7054
@ahmadrahmani7054 Жыл бұрын
Where is the tracker file It's not in the link below
@dkibe6006
@dkibe6006 3 жыл бұрын
You are the best!
@shuhaozhang7332
@shuhaozhang7332 3 жыл бұрын
Are x and y coordinates mean the center point of the rectangle, or are they the corner of the rectangle?
@fettahyldz460
@fettahyldz460 3 жыл бұрын
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.
@Mustafff76
@Mustafff76 3 жыл бұрын
Thanks man! Great tutorial ;)
@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
@dhruvdwivedy4192
@dhruvdwivedy4192 3 жыл бұрын
Awesome ❤️👍 thank you so much.
@iwaitucn
@iwaitucn 3 жыл бұрын
greate job, thanks !!!!
@nourbennour1099
@nourbennour1099 2 жыл бұрын
Hi, I tried another video that has a stopped car and slow cars but this code can not track these cases...any help? from where I can start to fix this issue? thank you
@edwingpenaaviles4511
@edwingpenaaviles4511 3 жыл бұрын
Can I change some line of code to only detect a specific moving object with a specific color; not all moving objects only the moving object with that specific color?
@braiandeivid
@braiandeivid 2 жыл бұрын
Yes, you can do everything
@gsunil3697
@gsunil3697 2 жыл бұрын
Is it possible to classify vehicles based on their size
@braiandeivid
@braiandeivid 2 жыл бұрын
@@gsunil3697 Yeah, you can use the area of the rectangle as a paramter in any way, but it tends to be inneficient cuz you dont know what type of vehicles you can get in the image and the cam angle distorts the size
@gsunil3697
@gsunil3697 2 жыл бұрын
@@braiandeivid bro i have a code for vehicles detection but I want to classify them based on their size.but i am getting lot of errors .can you help me plz.....
@eskelex
@eskelex 3 жыл бұрын
Well done!! 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
@foreverclassicalmusic
@foreverclassicalmusic Жыл бұрын
Hello, is it possible to create software that identifies the speed of an object in a video? Please
@joseantoniocruzlopez1382
@joseantoniocruzlopez1382 2 жыл бұрын
Buen trabajo
@andriyyarish8628
@andriyyarish8628 3 жыл бұрын
Very nice and understandable, thanks for sharing your experiance +100 for karma ))
Object Tracking from scratch with OpenCV and Python
1:00:13
Pysource
Рет қаралды 263 М.
Predict trajectory of an Object with Kalman filter
31:30
Pysource
Рет қаралды 62 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 12 МЛН
Football AI Tutorial: From Basics to Advanced Stats with Python
1:30:19
Train Yolov10 object detection custom data FULL GUIDE | Computer vision tutorial
49:18
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 3,8 МЛН
Image Processing with OpenCV and Python
20:38
Rob Mulla
Рет қаралды 181 М.
Simple Color recognition with Opencv and Python
32:47
Pysource
Рет қаралды 70 М.
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,8 МЛН
Why The US is Struggling to Return to the Moon
19:55
Real Engineering
Рет қаралды 687 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 7 МЛН