Object Tracking from scratch with OpenCV and Python

Поделиться
HTML-код
  • Опубликовано: 4 окт 2021
  • Blog : pysource.com/2021/10/05/objec...
    In this special video, I'm going to help you solve the doubts you have about object tracking and you'll learn how to build an Object Tracking algorithm from scratch.
    ➤ Courses:
    Full Computer Vision course: pysource.com/object-detection...
    Training Mask R-CNN PRO (Notebook + Mini-Course): pysource.com/mask-rcnn-traini...
    ➤ Follow me on:
    LinkedIn: / pysource
    ➤ For business inquiries:
    pysource.com/contact
    #ObjectTracking #AI #DeepLearning
  • НаукаНаука

Комментарии • 164

  • @pysource-com
    @pysource-com  2 года назад +7

    ►► You can Build a Computer Vision software to DETECT and TRACK any Object.
    → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/

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

      Can we do this complete process in raspberry pi

    • @Abbababagana-sw6wd
      @Abbababagana-sw6wd 9 месяцев назад

      I need the sources code

    • @muhammadanndi07andi16
      @muhammadanndi07andi16 7 месяцев назад

      @@Abbababagana-sw6wd can share me source code?

    • @user-nk2wg8tb8p
      @user-nk2wg8tb8p 3 месяца назад

      Hi, I applied yesterday with my other to get contents, but still no response. Can you pls tell me how long it takes?

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

    Man, I still don't have the money to pay for one of your courses, but I want to thank you a lot for all this free content. It's amazing how simple is your way of teaching, really nice to learn. Whenever I got a decent job in my country, I'm going to apply for your course.

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

    A very Thank you to Pysource who came up with this Project. He explains everything in a lucid manner. This is going to be my "Digital Image Processing Project" in my collage. Thank You BUDDY.

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

    Thanks Sergio for such a great tutorial. This was just what I was looking for... a basic tracking algorithm that allows you to develop an intuition on how object tracking works and facilitates the understanding of more advanced tracking algorithms, such as the ones you have mentioned (Sort and DeepSort). Greetings from Ecuador 🇪🇨

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

    Obrigado pela paciência e compreensão, este é um dos videos mais didáticos que é possível encontrar no youtube, por favor continue

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

    Thakns a lot , in some projects we just can't use common algorithms like deep sort , what you did was just what i was looking for

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

    thank you for this basic introduction to Opencv for those who have little or no experince with it, I look forward to watching more of your video / guides and hopefully get a better understanding of how it works. Thank you., Subbed and Liked for future learning.

  • @cemalbukrek7274
    @cemalbukrek7274 10 месяцев назад +2

    Excellent tutorial - you let the student think together with you to develop a strategy, implement and debug it. This type of training is as good as it gets. Thank you!

  • @notead
    @notead 2 года назад +9

    When you're calculating cx you're basically multiplying x by 2 and then dividing it again by 2 and it looks a little bit counter intuitive. writing it as x + (w/2) is a bit more clear, same goes with cy = y + (h/2)

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

    Sir, really helpful. You are also showing how to trace and develop logic.

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

    Hello Sergio,
    I have a question:
    Can you give me information about the Trainingdata which you used to train the weights in the dnn folder?
    How many Images?, What kind of objects in the Images, how many epochs, batchsize and so on?

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

    Very interesting and helpful tutorial. Thank you very much.

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

    hey One question: it gives an error : no module named "object_detection" even though i changed the working directory with the
    provided files

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

    thank you so much but i cant find video that use in this course and other code that you say it exist in links

  • @Monkeyman-ry1ir
    @Monkeyman-ry1ir Год назад +1

    I’ve watched hours of videos and tNice tutorials one is the first that explains it in a way a complete beginner could understand! Great video

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

    Thank you so much, this was very helpful.

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

    Dear Sir..Can we use Yolo5 in the place of Yolov4 i mean (weight and cfg)?

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

    Hi, what GPU are you using and is the video playback running with CUDA support?

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

    excellent tutorial. thank you for always sharing code for public

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

    hi Sergio! Can u help me in set only 'person' class id will be detected in this project?

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

    Hello there. Please tell me - if you increase the speed of the video by 10 times, will the counting of objects be preserved?
    Does the speed of the video affect the ability to count objects?

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

    Thanks for the good video. Are you planning on a similar video on Jetson Nano? As the Python code should be the same (?), I am wondering how to utilize the Jetson Nano's hardware for such a task.

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

    Great video! How can i export all tracking_objects values in a txt.?

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

    Thanks for the video
    I have a task which is pedestrian detection and congestion measurement
    I need to build a model that can detect pedestrian and also be able to say if the frame is congested
    For example let's say in a frame greater than 20 people means congested

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

    Hi, the way you teach is very cool. You make everything look so easy. Could you make a video on feature fusion in things like intent prediction and pose estimation? I know it would be advanced stuff but very helpful. Thanks.

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

    Thanks for the good video. And i will be grateful if you can share a video that use this technical to calculate vehicle speed.

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

    Is there a video that explains the specific object detection file?

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

    Great tutorial, but what re the hardware requirements for this project, i just ran it verbatim on an M1 Macbook and the output is excruciatingly slow...

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

    Another excellent tutorial 🙏

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

    you are the best!!! thank you!

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

    Can we track multiple faces same way or do I have to use other techniques

  • @termitestrack
    @termitestrack 9 месяцев назад

    Hello Sergio, thnak you so much for the tutorial. I am trying to apply this to termites video, which I am recording in 9 cm petri 55 termites. I have really beginner level knowledge about coding. Can you please tell me how can I create .cfg and .weights files for termites. The only object I want to find and track is termites. I hope you can help, thank you

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

    You have explianed well , thanks for your explanation

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

    Excellent explanation, but i got notification cv2.error: unknown C++ exception from OpenCV code what does that mean

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

    Thankyou so much for these learning videos but i am just having problems in setting up my pycharm to use all these modules at the same time so can u please make video to us your settings of your python enivronment and version and all or guide me to set it all up then i would really appreciate it.

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

    Thanks for your very kind and wonderful video, I really appreciate and you deserve a salary as you wish.
    thanks

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

    Awesome tutorial. Could you tell me what kind of setup I need (such as number of CPU cores, GPU size, Ram, Storage etc.) to run the videos smoothly?

    • @pysource-com
      @pysource-com  2 года назад

      The main component to run smoothly is an Nvidia Graphic card. It should be Nvidia GTX 1650 minimum, then a standard CPU Ryzen 5 or Intel I5 and minimum 8GB of RAM.
      Also the it's important that the Opencv library should be installed with GPU.

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

    Thanks for great content sir ❤️

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

    Great work 👏👏👏👏

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

    tried to download the source code for this, but the link to my email just redirects me to an invalid page

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

    Thank you for sharing this

  • @Film-maker
    @Film-maker 3 месяца назад

    Great tutorial. How do I run this code on my computer? I download files but I get no tracking window.

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

    How to define roi in this model. Actually I want to detect the objects in only the roi area using ip camera

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

    Please I can't find the link to download those files required for this lesson, can anyone help me?

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

    hello mr sagio my computer only recognize cv2 and numpy the other files it cant run

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

    Hello sergio , I have an error which is (TypeError: VideoCapture() takes no arguments)
    Im followed your code but I get an error. Hope you can help me throughout this problem

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

    Just curious, could this be used to collect license plate numbers coming into or leaving a neighborhood, storing them and comparing them to an array to see if this is a frequently occurring license plate. If it isn't then store the picture and license plate date and time . It could be used as part of an electronic "Neighborhood Watch" so that if burglaries occur, the make, model, color and license plate date and time of identification will be stored as infrequent vehicle to help find the suspected burglars vehicle and help solve the burglaries. That's one use I can see for this, plus get avg speed of vehicles moving through neighborhood .

  • @par-th1
    @par-th1 2 года назад

    cant find a link for object detection file can you send it here?

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

    Epic, any more lessons !

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

    where to download from all those four folders?

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

    Hi, i am having a problem with
    Unknown C++ exception from OpenCV code

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

    Great video Sergio. You've broken it down in to manageable chunks that are easy to follow. I have a problem when trying to run this on my rPI 4 as it's complaining of -212 parsing error and an unsupported activation: mish. I guess I may just have to update my openCV but as you only made this video a few hours ago I and I've only just installed these things I should be using all the same versions as you are... Any suggestions?
    Thanks again for putting the work and effort in to making these videos you are helping a lot of people get a grip of this stuff..

    • @pysource-com
      @pysource-com  2 года назад +2

      exactly, this only works with Opencv 4.4.0 or greater, so I guess you're using an older version.
      Second thing to know, raspberry pi is too weak to handle object detection in realtime with YOLOv4, so you should integrate it with a smaller algorithm.

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

      @@pysource-com thanks for the advice. maybe I'm hoping for too much out of the RPI.. I'm trying to make something that lets me know if someone is coming in to my gate or going out of it. one or two FPS would do probably and the video isn't being viewed or used for anything else as I have other HD cams for that .. so resolution etc isn't important.. Just an LED for going in or going out..
      When I followed your tutorial on my PC it works fine.. my desk top is a little big to stick on my gate post though :-) Thanks again..

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

      @@michaelallen185 yeh did u run it on GPU need help

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

      @@michaelallen185 thanks buddy for help

  • @user-nk2wg8tb8p
    @user-nk2wg8tb8p 3 месяца назад

    Hi, I applied yesterday with my other to get contents, but still no response. Can you pls tell me how long it takes?

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

    Excellent explanation

  • @fabian_ftn6604
    @fabian_ftn6604 Год назад +2

    when I tun my code it says "0::Net::Impl::setUpNet DNN module was not built with CUDA backend; switching to CPU" how can I fix this?

    • @pysource-com
      @pysource-com  Год назад

      that's normal to be that way. If you have a CUDA gpu you can install Opencv CUDA to use your graphic card and it will be much faster.
      on windows though, it's a pretty complex installation

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

    Hi Sergio, I am curious, how could I use this on the live feed of an Oak-d lite camera? I would like to apply it to live feed from the camera I have, and a software exists but I do not know how to use it. Thanks

    • @Quntes
      @Quntes 2 дня назад

      I guess you solved this problem already because you asked that one year ago but maybe someone watching that video has the same question.
      You can import streams via: cv.VideoCapture(0) with incrementing numbers to iterate over hardware inputs
      If its a stream via ethernet you would have to use a thirdparty library to import the stream (thats more complicated but can also be done).

  • @user-wl4xn4ku6c
    @user-wl4xn4ku6c 9 месяцев назад +1

    PS C:\Users
    itik\object_form> python object_tracking.py
    Traceback (most recent call last):
    File "C:\Users
    itik\object_form\object_tracking.py", line 3, in
    from detection import ObjectDetection
    ImportError: cannot import name 'ObjectDetection' from 'detection' (C:\Users
    itik\object_form\detection.py)
    having these error pls help

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

    How do I get the files used in the video please?

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

    So this is basically how createbackgroudsubtractor works right?

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

    Object detection file and tracking both cannot be downloaded for this tutorial. Just understood the basic code. Whats the use!!

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

    please do make a video on vehicle classification

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

    Nice video, very interesting. I have a question: which is the best/easer way to detect objects that is not recognized by YOLO, e.g: we have a model that recognize cars, if some person/bicicle, etc is in scene, we have the notification for that.

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

      I'm not 100% sure on this, but since YOLO produces output based on class, I'm sure there is a way you could classify bounding boxes by class, and then track in that way.

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

      ​@@noahvandal6485 i have a idea now, i can performe a motion detection excludind de bb of yolo, or maybe edge detections with dimensions. My question was more about of how to detect objects that is not part of YOLO classes.

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

    after install tracker:I don't find (EuclideancDistTraker) in tracker.please help mr

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

    try do it from a live ip cam not a rpi cam or a video file! i cant get it working show how its done...

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

    Excellent video and wonderful tutorial! The standard module object_detection does not have "ObjectDetection" package. ImportError: cannot import name 'ObjectDetection' from 'object_detection' . Is ObjectDetection your own extension ? Thanks!

    • @pysource-com
      @pysource-com  Год назад

      yes, it is a custom file I created. you should download that from the blog post related to this video. Links are in the description

    • @xxgxx4803
      @xxgxx4803 7 месяцев назад

      hi, I encountered the same error and downloaded the file as you said. But it still gives the same error. Do I need to change and rewrite the code? Did you solve this problem?

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

    Thank you for this excellent video, it helped me a lot to understand the procedure for tracking and detecting objects.
    Just a question please: I tried to implement this code but after running the program the loading of the frames is very slow, it seems that these images are displayed and not a video in real time. what is the cause of this problem please?

    • @pysource-com
      @pysource-com  2 года назад +1

      It's normal, if Opencv is not installed with GPU, it can process around 1 or 2 frames per second only.
      You would need an Nvidia GPU and you would need to configure Opencv in order to work with that.

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

      @@pysource-com Thank you for you answer

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

    in detect
    return self.model.detect(frame, nmsThreshold=self.nmsThreshold, confThreshold=self.confThreshold)
    error

  • @jamesyadig242
    @jamesyadig242 5 месяцев назад

    What program is he writing this in please?

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

    error: OpenCV(4.7.0) /io/opencv/modules/imgproc/src/drawing.cpp:1711: error: (-215:Assertion failed) 0

  • @user-fn8kj7nq2j
    @user-fn8kj7nq2j 6 месяцев назад

    how can i download the four files?

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

    Hello, thank you very much for these excellent tutorials.
    please can you give me the link to the video where you are traking for real projects and professional work (sorting, deep sorting). thank you once again.

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

      Hi, can you respond me please😌

    • @pysource-com
      @pysource-com  2 года назад +2

      hi, this is only available on the videocourse Object Detection with opencv and deep learning that you can find on pysource.com , the section courses.

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

    hello brothers and sisters iam struggling to make the video play on my code i have try so many time but i fail what can i do

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

    Bro I love you content, I would love to learn your premium courses but I cant afford them

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

    amazing

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

    Im still a little bit confused about the end. How did you increase the fps?

    • @pysource-com
      @pysource-com  Год назад +1

      I have an Nvidia GPU and my Opencv is installad with GPU support.
      I don't show this on the video, as it's mostly an exercise for beginners to understand about object tracking

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

      @@pysource-com I tried to install Cuda but the nvidia driver installer fails everytime, I unchecked the Visual Studio Integration and Geforce experience but it's still no use. Im using window 11 and my card is geforce mx230. is it because my card is incompatible?

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

    great video, I've always struggled to run in IoT devices because low of fps, how can one optimize this for IoT environment ?.

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

      hello. i am working on these subject for 5 years and i can say unfortunately there is not a way to run these things on raspberry pi like devices with high fps. i tried even jetson nano but if you use deep learning based approach to detect objects you have no chance. i am using dlib and opencv to detect and track faces. dlib is very good choise to detect faces accurately. and opencv's mosse tracker is really really fast. so with cpu overclocking on rasperry pi 4 i am getting 20-25 fps. but remember these devices (raspberry pi, beaglebone, odroid etc.) are not good choices to run deep learning solutions. by the way raspberry pi is the best choice in these devices. asus tinkerboard is the worst.

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

      @@ycdcherokee What if I implement TensorFlow Lite and Edge TPU on my Raspberry Pi?
      Please note that I have no knowledge of the program.
      I'm trying to do simultaneously worm brain neurosimulation and object recognition an IoT device like the GoPiGo3.
      ruclips.net/video/9kxty2qec4g/видео.html

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

    i am having problems with cv2 , after installing opencv-ython i'm always getting
    import cv2
    ModuleNotFoundError: No module named 'cv2'
    what to do please ?

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

      Make sure you hav visual studio installed and add C/C++ extensions in VS

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

      pip install opencv-contrib-python

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

    Anyone having trouble with receiving the email with the necessary files on Pysource website?

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

    setUpNet DNN module was not built with CUDA backend; switching to CPU. How do you resolve this issue. I have NVIDIA 1650Ti and I've downloaded the toolkit, but my video is still slow

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

      I met the same issue. Have you solved it?

  • @REDIZIO
    @REDIZIO 24 дня назад

    requested the .py files but did not receive email

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

    1:52 I`m using PyCharm. Am I need to install opencv on cmd or PyCharm itself?

    • @pysource-com
      @pysource-com  2 года назад +1

      You can do it either way, it's up to you.
      but if you're using pycharm i recommend to install it already with pycharm

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

      @@pysource-com yeah I have some libraries installed with phycharm.

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

    Link to download the file from email is not working. Could you please check? Thanks

    • @pysource-com
      @pysource-com  2 года назад

      It should be working correctly now. Contact me here pysource.com/contact/ if still you're not able to download the files

  • @hamza.arse11
    @hamza.arse11 2 года назад

    'pip' is not recognized as an internal or external command,
    operable program or batch file.
    I am getting such a message. What is this?

    • @pysource-com
      @pysource-com  2 года назад

      you need to make sure that Python is installed and executable from the windows CMD.
      Instead of pip you can try running this: python -m pip install opencv-contrib-python

  • @dolorjunmarm.2441
    @dolorjunmarm.2441 2 года назад

    what is the name of the application you are using sir?

    • @pysource-com
      @pysource-com  2 года назад

      The application I use to write the python code is Pycharm

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

    i dont understand the data set can you just clear me

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

    Cant find the files

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

    Hello. Great Tutorial. Could please send me the python files for the òbject dectection you used for this tutorial as the video is not in your playlists. Thank you

    • @pysource-com
      @pysource-com  2 года назад

      Source code is free to download from video description. There is the blog post related to this video (and inside you'll find the download link)

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

      @@pysource-com .. Thank you for your response.
      Please what is your charge for consultancy on a project?
      I have a project I am curently working one which I would like your input in?

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

      Plus, where I can't see your object detection video in your opencv with python playlist. You mentioned in this video that you already did an object detection video? Could you please send me the RUclips link for the object detection video...
      Kind regards

    • @pysource-com
      @pysource-com  2 года назад

      @@babatundeoladapo3929 you can contact me here pysource.com/contact/

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

    Please is there a code that helps me divide the path into cells and lines?

    • @pysource-com
      @pysource-com  2 года назад

      I'm not familiar with any existing codes that do that, but it's something you can certainly program from scratch with Opencv.

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

      @@pysource-com Thank you
      another question please
      In one of the videos, I took one area of ​​interest to count the cars if I wanted to do the same thing, but on two areas of the video so that the cars were counted together in the two areas, and the car numbers in the output were distributed over the two areas as you called them "roi"

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

      @@pysource-com ruclips.net/video/O3b8lVF93jU/видео.html

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

    Can someone help me with the error "DNN module was not built with CUDA backend; switching to CPU" what's causing it, and how to handle it.

    • @pysource-com
      @pysource-com  2 года назад +1

      That's not an error, that's normal with the standard installation of Opencv.
      Simply if you have a graphic card Nvidia GTX with 4GB+ of RAM, you can compile Opencv to use the GPU and get more than 10 times faster speed.
      But this is not for beginners, it's a more advanced steps which is not important for this tutorial.

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

      @@pysource-com Thank You for the quick reply Sir. But I'm getting 1 fps. Is there any workaround for this?

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

      ​@@Faisalamin01 got the same issue

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

      @@yidirbg93 read his reply, it's just a warning not an issue

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

      @@Faisalamin01 but my issue is that i want to analize a live video, but i can't because the object detection takes too many time
      if I wanted to analyze a pre-recorded video, there would be no issue, but that's not what i want

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

    would have been better to use one shot learning instead of comparing previous location. what if the objects leave and come back. using a rtree instead of looping through all objects would be a much faster way to compare objects

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

    I tried this code, and it actually worked. We are getting output values of x and y as bounding box coordinates. My question is how to transform the bounding box coordinates to real world coordinates?

    • @pysource-com
      @pysource-com  2 года назад +1

      That would require mapping the area and it's much more complex than this. You also should have depth cameras or lidar sensors to get coordinates from the real world, you can't do that from a simple video.

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

      @@pysource-com Got it, thanks a lot for your response. Is there any way to normalise these coordinates?

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

    Hi I am getting this error,
    cv::dnn::dnn4_v20211220::Net::Impl::setUpNet DNN module was not built with CUDA back

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

      Same problem bro...

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

      now what should we do??

    • @pysource-com
      @pysource-com  2 года назад

      That's normal, it's not an error, more of a warning. Opencv runs by default with CPU. If you have an Nvidia GPU you can compile it with that to speed up the detection.

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

      But video is playing in 1FPS what should we do???

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

      @@pysource-com yes could you please help how to compile it with GPU?

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

    You email confirmation mail is taking too long to sent

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

    Could you do a tomato detection from plants?

    • @pysource-com
      @pysource-com  2 года назад

      That is an interesting project that can help in the agricultural field, so I might do that in the future

  • @user-zi1cs6ub5m
    @user-zi1cs6ub5m Год назад +1

    change it to Analog app 1 TE

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

    Firstly hello everyone adn Pysource. I'm Nihat and I'm extremely bad in python modules and python's itself. As you can think I couldn't install object detection in VSCODE. Can anyone help me? (I am very miserable as you can understand.)

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

    Kör på!

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

    I don't get this

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

    13:52

  •  2 года назад

    hello friends can we talk some projekt ?

    • @pysource-com
      @pysource-com  2 года назад

      hi, contact me here pysource.com/contact/