Detect vehicles speed from CCTV Cameras with Opencv and Deep Learning

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 55

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

    • @tamilmanir6730
      @tamilmanir6730 2 роки тому +1

      Where can I get this video sources i didn't see in the blog ?

    • @pysource-com
      @pysource-com  2 роки тому

      @@tamilmanir6730 the specific video source I used in this project is not available to download.

  • @19_lowisroyfigo76
    @19_lowisroyfigo76 2 роки тому +1

    Botak Berguna, terimakasih telah memberikan TUTORIAL. GOOD JOB,

  • @CarlDorio
    @CarlDorio 2 місяці тому +1

    Hi,
    Would it be possible to detect the speed of vehicles, but with a camera at the same horizontal level as them? That is to say, a view which is not plunging, as in your example.
    We have a street; we place a camera on a pole about six feet high. We record passing vehicles and later, using Open CV or other programs, we are able to obtain the speed of everything in the camera's field of view.
    Of course, we took the distances beforehand, for example using a 100-foot measuring tape.
    Thank you for sharing your knowledge.

  • @shamrao8723
    @shamrao8723 2 роки тому +4

    Hi Sergio, can you make a video where it can determine (heavy congestion, moderate congestion, no/light congestion) based on speed/ number of vehicles passing through point 1 to point 2? This might be very helpful for a student like me who wanted to explore more on object tracking. Thank you.

    • @feyakut
      @feyakut 2 роки тому

      Yeah that would be good

  • @marcomaggiotti2330
    @marcomaggiotti2330 2 роки тому

    Love it, I really like ur motivation and ideas. I also think that there is a lot of potential in cv for ip cameras

  • @akifakbulut765
    @akifakbulut765 Рік тому +2

    where can we find the python file named deep_sort.deep_sort that you used in the video?

  • @mohammadaliavazpour3268
    @mohammadaliavazpour3268 2 роки тому

    Your videos helped me a lot , really really thank you

  • @NA-cw4pj
    @NA-cw4pj 2 роки тому +2

    TYSM for this video, I love it. But anyone have the code for execute this? Or using the one´s you let us see on the screen could work? I mean at leas the parts we see for every instance in the video. TYSM

  • @arslanmanzoor8716
    @arslanmanzoor8716 4 місяці тому

    can you please make the video to predict trajectory of multiple objects in different polygon?? i will be thankful to you

  • @aniruddhapaul4729
    @aniruddhapaul4729 2 роки тому +2

    can you give the video footage clip?

  • @abdulrahmanalshameery7097
    @abdulrahmanalshameery7097 2 роки тому

    its a great videos
    i get mini problem where is the full video that you croped it to implement this project

  • @truthcam1
    @truthcam1 3 місяці тому

    great videos............

  • @mohammadaliavazpour3268
    @mohammadaliavazpour3268 2 роки тому

    Another nice object , Thanks

  • @GaryBuck
    @GaryBuck 2 роки тому

    V good video - you could add a suggestion to calibrate it by driving the road at a known set speed. Then tweak the estimated distance figure to match

    • @pysource-com
      @pysource-com  2 роки тому +1

      Hi Gary,
      I think the easiest way to get the distance, by not having instruments to do that, is by using google maps.
      Select on google maps the starting point and the end point and you'll get the distance. Definitely will be more precise than using a own vehicle at a certain speed

  • @yashdggjs
    @yashdggjs 2 роки тому +3

    yolo4 custom pleaseeeee

  • @happypumpkinpm7434
    @happypumpkinpm7434 2 роки тому +4

    Thanks for the video. I want to give my thoughts about this. 16seconds traveling time does not seem correct. I do not think that is a 65 meters distance, it is lower than that. The time that you are calculating is not the actual traveling time, you are calculating the processing time in your computer. You are using deep sort (heavy computation), the processing time is slow, which makes time look longer and in fact that is due to the slow processing. Your timing should be based on the entering and exiting frame rather than time based on processing. You are considering that delay for calculating time here which is not accurate.

    • @pysource-com
      @pysource-com  2 роки тому +3

      I do totally agree with what you say. This project needs to be considered purely as a demonstration.
      I would say that with an accurate calibration and also with the exact timestamp of each single frame we can get a very good accuracy.

    • @arivarasan1548
      @arivarasan1548 Рік тому

      Hi @happypumpkinpm7434, I think the time that's calculated is not the system processing time, it should be the actual travel time. As the timestamp is captured based on the vehicle's position in the frame, it should be the approximate travel time.

  • @tomasdaels
    @tomasdaels 2 роки тому

    sergio, could you please make a video where the camera is not fixed? so the vertexces of the area of interest should get refreshed.
    Thanks!

    • @pysource-com
      @pysource-com  2 роки тому

      HI Tomas,
      please share some video footage of a moving camera and I'll take it into account for further updates

  • @hermitking3718
    @hermitking3718 Рік тому

    I need to capture torpedo speeds for my project those it work underwater.

  • @zy.r.4323
    @zy.r.4323 2 роки тому

    Hi
    Thank you for the tutorial!
    I am doing similar project but I have some problems when counting objects passing roi. Image distortion in roi causing wrong object counting. I am using nvidia geforce rtx 3090. Help me to fix this problem, please

  • @anime_on_data7594
    @anime_on_data7594 Рік тому

    how can we take this implementation to PyTorch yolov5 detection?

  • @mdkamruzzaman7174
    @mdkamruzzaman7174 Рік тому

    sir can we measure the distance ? please answer..

  • @endotherm
    @endotherm 10 місяців тому

    You wouldn't just use the distance from one side of the roundabout to the other, that would be a straight line. The actual track the vehicles take would be a curved path so you would need to do some math to calculate the circumference of the roundabout and the length of the segment used. Otherwise the estimated speeds are going to come out slower than they are actually travelling -- they need to go faster along the curved route to get to the exit in the same time as a straight line calculation.

  • @loiuc4600
    @loiuc4600 2 роки тому

    a rewarding video. However, do you have datasets on the velocities of the vehicles for ground truth?

    • @pysource-com
      @pysource-com  2 роки тому

      Nope, I used pretrained models for this example.

  • @haeemnaeem5892
    @haeemnaeem5892 Рік тому

    kindly upload the vedio which you had uesd

  • @adampiksel689
    @adampiksel689 2 роки тому

    Hi Sergio, a question what's the reason of this kind of situation "I have a camera footage from the road, yolo alghoritm does detection quite well, but in length of a few frames exactly same object is detected many times and it's label with number changed" ? Especially it's visible during car passing by.

    • @pysource-com
      @pysource-com  2 роки тому

      You need to consider that Detection and Tracking are two separate stages.
      Once you have object detection in place, you need to implement the algorithm for a proper object tracking, otherwise it's normal that it loses the id.

  • @thiennguyenchi6862
    @thiennguyenchi6862 2 роки тому +1

    Where can I get the deep_sort source like yours sir?

    • @pysource-com
      @pysource-com  2 роки тому

      Hi, this code is on the course Object Detection (with Opencv and Deep Learning) on pysource.com

  • @RohitThirukarthick
    @RohitThirukarthick 2 роки тому

    Hey hi.. can u please give me a guide on detect speed of turbine rotation using opencv plzzz

  • @rakotomamonjypaulmazoto7881
    @rakotomamonjypaulmazoto7881 2 роки тому

    Thaks. I have a question.
    How to get and install object_detection and deep_sort?

    • @pysource-com
      @pysource-com  2 роки тому

      Deep Sort is an open source library that you can find online, but the specific one is a custom implementation that's available only on the course Object Detection (with Opencv and Deep Leraning) pysource.com/object-detection-opencv-deep-learning-video-course/

  • @sharank5724
    @sharank5724 2 роки тому +6

    Can you share the source code for this ??

    • @alone_legends
      @alone_legends Рік тому

      Can we delete CCTV footage and replace it with another CCTV footage

  • @Kishi1969
    @Kishi1969 2 роки тому

    Dear sir...You did not put the code of this in your site "Detect vehicles speed from CCTV Cameras with Opencv and Deep Learning" can you let me know where i can download it sir

    • @pysource-com
      @pysource-com  2 роки тому +1

      Hi, this code is not available to download

    • @Kishi1969
      @Kishi1969 2 роки тому

      @@pysource-com OK Sir but how to follow on this program then Sir?

  • @natdanaiintraraksa7906
    @natdanaiintraraksa7906 2 роки тому +1

    Where is deep sort come from? Can I install via pip command?

    • @pysource-com
      @pysource-com  2 роки тому

      Deep sort is an open source object tracking algorithm. Its source is available on github but its implementation is not so easy.
      I've created a custom and simple implamentation of deep sort in a few lines of codes and I share that on my videocourse Object Detection with Opencv and Deep Learning.

  • @rahulsinghvwymycpdzg1714
    @rahulsinghvwymycpdzg1714 2 роки тому

    hello sir which software are using in programming

  • @hieuvu6543
    @hieuvu6543 2 роки тому

    plz soucre code ?

  • @nhomlaptrinhcode
    @nhomlaptrinhcode 2 роки тому

    Can you send me the car footage in that video.

  • @sabirineel-harchali8675
    @sabirineel-harchali8675 2 роки тому

    thanks for your amazing video i need this video_test plzz

  • @codewithkhizer4943
    @codewithkhizer4943 2 роки тому

    code

  • @marinenav8
    @marinenav8 2 роки тому

    👍

    • @marinenav8
      @marinenav8 2 роки тому

      There are example source code ?

  • @faysalnazmul7240
    @faysalnazmul7240 2 роки тому

    Sir, would you give me the code for free?