Object Tracking with Opencv and Python

Поделиться
HTML-код
  • Опубликовано: 27 янв 2021
  • 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 года назад +4

    ►► 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 года назад +33

    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 7 месяцев назад

      Can Using visual video code to run?

  • @Suman-zm7wx
    @Suman-zm7wx 2 года назад +8

    The way this person is delivering these complicated stuffs regarding Open CV and OT, hats off man for your contribution towards the RUclips 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 😊

  • @hetalivekariya7415
    @hetalivekariya7415 2 года назад +2

    Thank you for explaining each and every line of code clearly. Great help. Keep uploading videos like this

  • @chun5310
    @chun5310 2 года назад +4

    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!

  • @tomasdaels
    @tomasdaels 2 года назад +40

    Today I installed opencv, it was a long day of tutorials but this one was super super clear!
    Thanks a lot!

  • @dogarayunanagani6986
    @dogarayunanagani6986 3 года назад +4

    Wow this was quite useful and well explained. Thank you and God bless your work!!!

  • @Endredos
    @Endredos 11 месяцев назад +6

    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.

  • @bolzanoitaly8360
    @bolzanoitaly8360 2 года назад

    Thanks, to you Sergio Canu,
    you have resolved much of our issues.
    thanks to you from the core of our hearts.

  • @abc-co7fy
    @abc-co7fy 3 года назад +4

    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 года назад +24

    this was really awesome and thank you for the code

  • @dhamotharan1734
    @dhamotharan1734 8 месяцев назад

    Thanks man! This helps me to complete my assignment on object tracking using OpenCV

  • @thecontrolenggeek786
    @thecontrolenggeek786 Год назад

    I really enjoy watching your videos and they are quite helpful at same time. thanks for sharing this with us

  • @flashdash4694
    @flashdash4694 3 года назад +1

    Thanks for the insight, you have taken my python-programming to another higher level!! Great fun too.

  • @praketasaxena
    @praketasaxena 2 года назад

    perfect and much needed for me to understand OPENCV

  • @julianboulevard
    @julianboulevard 26 дней назад

    Best tutorial ever!!!! Thanks a lot for your time and clear explanation, cheers!!!

  • @snake6458
    @snake6458 2 года назад

    我來自台灣,謝謝你的教導,感謝!!

  • @thinkingahead2233
    @thinkingahead2233 Год назад

    Thank you very much for making this video; concepts are clearly explained.

  • @PotatoMan1491
    @PotatoMan1491 3 года назад +1

    Solid explanation to initiate into the field

  • @mrpoeky2527
    @mrpoeky2527 2 года назад

    Thank you for your detailed explanation on object Tracking :)

  • @manakavoo
    @manakavoo 6 месяцев назад

    i'm newbie to opencv , u explanations are far better than my lectures....thansks a lot sir.....

  • @dedisupardi2815
    @dedisupardi2815 2 года назад

    Excellent👍, thanks for sharing the codes of the project to us to learn it well

  • @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 Год назад +1

    Bravo Sergio! Maestro!

  • @deepanjan1234
    @deepanjan1234 3 года назад

    This is just great. Many many thanks 👍

  • @talhayousuf4599
    @talhayousuf4599 3 года назад +1

    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..

  • @daylinewsru
    @daylinewsru 2 года назад +1

    Hey!
    Thanks a lot for the video! Very helpful!
    Tell me, how can I record the coordinates of landmarks in a json file?

  • @hanshima_
    @hanshima_ 2 года назад

    Thanks a lot for this amazing tutorial !!!

  • @levienkon
    @levienkon 11 месяцев назад

    Thanks I finally got a good starter tutorial

  • @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.

  • @juliendu46
    @juliendu46 2 года назад +1

    BEST youtube channel!

  • @eskelex
    @eskelex 3 года назад

    Well done!! Thanks!!

  • @takedowntheccp.5167
    @takedowntheccp.5167 2 года назад

    Thank you so much men! I want to study follow your ! 👍

  • @joaoperolimasaar
    @joaoperolimasaar 3 года назад

    Thank you Sérgio!

  • @user-bf2vb9gj1d
    @user-bf2vb9gj1d 2 года назад +1

    It’s great, it makes me think python is awesome, and I start to like it.Thankyou!

  • @hamizanahmad5879
    @hamizanahmad5879 3 года назад +2

    Awesome video, where can i get traffic footage like that

  • @Mustafff76
    @Mustafff76 3 года назад

    Thanks man! Great tutorial ;)

  • @dhruvdwivedy4192
    @dhruvdwivedy4192 3 года назад

    Awesome ❤️👍
    thank you so much.

  • @phaminhhoang4478
    @phaminhhoang4478 8 месяцев назад

    Can you do a lesson on calculating the size of objects such as fruits and vegetables . Thanks

  • @yem.t.3930
    @yem.t.3930 11 месяцев назад

    Subscribed! A very beautiful explanation and examples

  • @BystroCoder
    @BystroCoder 2 года назад

    Thank you. Super lecture. Very insteresting.

  • @ozcanyureklioglu6249
    @ozcanyureklioglu6249 3 года назад +1

    very very awesome, thank you

  • @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?

  • @TheGupex
    @TheGupex 22 дня назад

    Thank🎉 from Thailand.

  • @alirezairani2876
    @alirezairani2876 10 месяцев назад

    thanks for great video, does it work for moving camera and stable object too?

  • @vahabmspour6336
    @vahabmspour6336 2 года назад

    your tutorial method is wonderful ...

  • @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

  • @Car_Ram_Rod
    @Car_Ram_Rod 2 года назад

    Dude, thanks for this video!

  • @locomotech6302
    @locomotech6302 4 месяца назад

    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???

  • @joshuajohn4404
    @joshuajohn4404 2 года назад

    Amazing video, thank you 👍

  • @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.

  • @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?

  • @rog0079
    @rog0079 3 года назад +5

    Object Tracking starts at 20:25

  • @bryansneydergomez4870
    @bryansneydergomez4870 2 года назад

    wow, you explain very well, trank u bro!

  • @cyrillaurencerameaualbon1637
    @cyrillaurencerameaualbon1637 2 года назад

    Thanks, Are you able to count the demonstrators of a march ?

  • @jeanzyx1707
    @jeanzyx1707 2 года назад

    beautifully perfect!!!!!

  • @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

  • @addkik
    @addkik Год назад

    Awesome ... Great Work

  • @dkibe6006
    @dkibe6006 3 года назад

    You are the best!

  • @lynx6632
    @lynx6632 3 года назад

    thanks for tutorial !!!!

  • @jadavpur4
    @jadavpur4 3 года назад +2

    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

  • @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

  • @badiuzzamontashmatov5362
    @badiuzzamontashmatov5362 3 года назад

    waitng for the 2nd part of the video

  • @claudiocatucci7028
    @claudiocatucci7028 3 года назад +1

    Congratulations!

  • @shuhaozhang7332
    @shuhaozhang7332 2 года назад

    Are x and y coordinates mean the center point of the rectangle, or are they the corner of the rectangle?

  • @mesaanugerah
    @mesaanugerah Год назад +1

    Thanks for sharing! Keep up the good work 😄

  • @andriyyarish8628
    @andriyyarish8628 3 года назад

    Very nice and understandable, thanks for sharing your experiance +100 for karma ))

  • @nailaydogan2241
    @nailaydogan2241 3 года назад

    Sir do you have any project for hand gesture recognition ? Thanks

  • @iwaitucn
    @iwaitucn 2 года назад

    greate job, thanks !!!!

  • @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.

  • @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?

  • @XuanKyAutomation
    @XuanKyAutomation 2 года назад

    thanks for your excellent video

  • @ferhadselmanpur1205
    @ferhadselmanpur1205 3 года назад

    Hiii , Can you make a video about image edge detection?

  • @GYETTORE
    @GYETTORE 3 года назад

    It's great!

  • @mohamedkarabij6673
    @mohamedkarabij6673 Год назад

    Thanks a million

  • @ZipovUA
    @ZipovUA 3 месяца назад

    thank you!

  • @Netalon
    @Netalon 2 года назад

    Thank you !!!

  • @nurbaini4308
    @nurbaini4308 11 месяцев назад

    Brother, thanks alot

  • @farihaafrin1803
    @farihaafrin1803 3 года назад +2

    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.

  • @truepath100
    @truepath100 2 года назад

    its great ... free source codes. keep posting free codes.

  • @lusher00
    @lusher00 2 года назад

    much appreciated.

  • @joseantoniocruzlopez1382
    @joseantoniocruzlopez1382 2 года назад

    Buen trabajo

  • @qwerty_____146
    @qwerty_____146 2 года назад

    Thank u, Dear. Bro

  • @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 года назад +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

  • @kieutrinhvo8447
    @kieutrinhvo8447 2 года назад

    thank you so much

  • @Edxylom
    @Edxylom 2 года назад

    Thanks bro

  • @jessel9389
    @jessel9389 2 года назад

    Thats awesome

  • @cvic7143
    @cvic7143 2 года назад

    May I ask how to export the location of the object (x,y,w,h) into a CSV file?

  • @Raj-sz9pg
    @Raj-sz9pg 3 года назад

    thanks man
    sir

  • @Kishi1969
    @Kishi1969 2 года назад

    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 RUclips link please 🙏🙏🙏

  • @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 :)

  • @ergun5276
    @ergun5276 3 года назад

    thank you...

  • @yilmazalaca
    @yilmazalaca 3 года назад

    Awesome :)

  • @rashidabbasi6035
    @rashidabbasi6035 3 года назад

    please make a video in point cloud compression ,,,please

  • @KeffelewAssefa
    @KeffelewAssefa 2 года назад

    Thank you

  • @falconvisionuav
    @falconvisionuav 2 месяца назад

    You should track by volume or height