Target lock and tracking on FPV drone video | Autonomous Drone Object Tracking OpenCV Python

Поділитися
Вставка
  • Опубліковано 25 лип 2023
  • Can my homemade object tracking code handle real FPV drone footage in real-time? Watch to find out. This is a test for a point-and-click homing system, allowing the guidance system move the drone to wherever it is needed..
    [Warning: The test clips are videos that might be sensitive and objectionable to some users. Viewer discretion is advised.]
    Want to see more like this? Click: / @timelapsecoder
    SUBSCRIBE to see if a solo, independent amateur can replicate product features that big tech companies and the military-industrial complex take years to develop.
    #drones
    #objecttracking
    #opencv
    #computervision

КОМЕНТАРІ • 70

  • @timelapsecoder
    @timelapsecoder  8 місяців тому +5

    Curious if I can convert these software projects into real homing drones? I'm getting there, but still saving for hardware and logistics. SUBSCRIBE to support me. Ask like-minded friends to subscribe also.

    • @GG-Platform
      @GG-Platform 7 місяців тому +1

      yeap, if you live in Ukraine)

    • @user-ru6le7xz9w
      @user-ru6le7xz9w 5 місяців тому +6

      There are many teams in Ukraine that are interested in technology like this. We can provide you with the necessary equipment for testing and development, engineering resources that can physically implement this in iron. Ukraine needs this for its defense. If you are willing to discuss this topic in more detail, please let me know.

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

      How we can get connected ? It's looking very promissing. Please, ping me, it's would help us much.

    • @user-vd6dp3ph9b
      @user-vd6dp3ph9b 4 місяці тому

      @artempogorelov7145 how can you be trusted? how do we know you are not russian ?

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

      @@artempogorelov7145 Still needs a lot of work before becoming a real working software. Will keep on testing on more drone footage.

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

    I would like to develop a civilian use case for something based on this type of tracking. Sounds like an interesting concept with commercial potential

    • @timelapsecoder
      @timelapsecoder  2 місяці тому

      You can experiment with existing OpenCV trackers and some lightweight ML models for object detection. From there, you can sell drones that follow its owner, like DJI for example.

  • @fpvlive3346
    @fpvlive3346 8 місяців тому +1

    I see a different timing. did you speed up your video recording when the tracker activated?

    • @timelapsecoder
      @timelapsecoder  8 місяців тому

      Haven't look at this in a while but I have a timer sleep when the tracker is off so the video does not go by in a blink. So I am guessing my delay estimate (to approximate 30fps) is actually slower than the speed of the tracker processing logic, so the video looks slower when the tracker is off.

  • @omumbare8582
    @omumbare8582 7 місяців тому +1

    hey can you share the code for the HUD only? i have rest of the things, just missing a good HUD

    • @SKM_KB
      @SKM_KB Місяць тому +3

      You managed to program a drone with computer vision object tracking but are uncapable of drawing some green boxes on an image with opencv?

  • @easonzhao4941
    @easonzhao4941 Місяць тому

    Great job! Just wonder what initializations are done when you click on the target.

    • @timelapsecoder
      @timelapsecoder  Місяць тому

      No initializations, other than maybe basic ones like approximate size of target, but even this is not that important. The algorithm has to immediately figure out what it needs. This is the 'magic sauce'. :) It does not work correctly all the time, so not so magic.

  • @user-fh5jo3ci7b
    @user-fh5jo3ci7b 4 місяці тому +1

    1. did you develop the algorithm to track and shoot them down?
    Can you post the process of creating such a system, I'd love to learn.
    2. Did you fly it by hand? Or is it an automated tracking flight?

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

      1. just the algorithms to track. can't share, private research. can only share demo.
      2. neither. these are pre-made videos. just testing the tracking on fuzzy videos. automated tracking flight can be easy or hard. if simple flight commands, easy. if rapid maneuvering, hard.

  • @PeterA650
    @PeterA650 6 місяців тому +2

    I'm actively teaching myself flight controller development from scratch. I have already developed a homing sensor for a certain application and it needs to get airborne. I can't find any other way to get it done other than designing it myself.

    • @timelapsecoder
      @timelapsecoder  6 місяців тому

      Nice. Writing PID flight control software would be a good learning project.
      But if you wish to avoid the trouble, would Ardupilot or similar open-source software help your situation?

    • @PeterA650
      @PeterA650 6 місяців тому

      @@timelapsecoder Ardupilot is designed mainly for GPS-guided waypoint navigation. There will be no GPS signal where my sensor will deploy.

    • @timelapsecoder
      @timelapsecoder  6 місяців тому +1

      @@PeterA650 Maybe you can find the core PID code from university labs working on indoor autonomous drones. They probably won't share their vision, path-finding and navigation algorithms, but maybe they already shared their PID.

  • @marchik1
    @marchik1 6 місяців тому

    Do you have a model/discussion somewhere in github posted?

    • @timelapsecoder
      @timelapsecoder  6 місяців тому

      This is not ML-based so no models. The problem I am solving is to track anything, not just pre-trained objects.

  • @shakhawansalih5601
    @shakhawansalih5601 6 місяців тому +1

    Why not making laser guided systems ? can you do that like in rockets?

    • @timelapsecoder
      @timelapsecoder  6 місяців тому +1

      It should be doable in theory. Replace the camera tracker with a laser tracker, plus a lasing unit to mark targets. Beam riding is a little different.

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

    Great job my friend, can you share the code with me?

  • @Vanchick87
    @Vanchick87 6 місяців тому +4

    Hello. Tell me where to get this code? I want to experiment with this. Thank you

    • @SolitaryElite
      @SolitaryElite 5 місяців тому

      its private lol

    • @DmitryX
      @DmitryX 5 місяців тому

      ​@@SolitaryElitethis is a Ukrainian beggar

  • @MohammadIbrahim-tf8rd
    @MohammadIbrahim-tf8rd 9 місяців тому

    Great
    What is the tracking algorithm this time?

    • @timelapsecoder
      @timelapsecoder  9 місяців тому

      PF with some secret sauce! :)

    • @andreyl2705
      @andreyl2705 9 місяців тому

      @@timelapsecoder can you recommend a good resource to read about it?

    • @timelapsecoder
      @timelapsecoder  9 місяців тому

      @andreyl2705 i think szeliski's computer vision book is considered very good. also forsyth's (haven't read both so don't know which one is better). i am recommending them because they are used as reference in cv classes. very math heavy though. if you just want cv concepts, i am sorry i do not know a good easy to digest resource.
      if you look for these online, you would also find many related links to cv lecture slides from the best cs schools. check them out and see which one is to your liking. you might understand the concept even if you gloss over the math.
      you can also study computational photography.

    • @andreyl2705
      @andreyl2705 9 місяців тому

      @@timelapsecoder thank you sir, very comprehensive answer) Have a nice day.

    • @RobinHood-qg2xz
      @RobinHood-qg2xz 5 місяців тому

      hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
      @@timelapsecoder

  • @Dynamitry
    @Dynamitry 7 місяців тому +1

    The next challenge is to learn a drone to precision bomb drop to a moving target and fly away to save itself.

    • @timelapsecoder
      @timelapsecoder  7 місяців тому +4

      Accurate free-fall physics can be hard. :) Better to have a motherdrone with mini-drones like this. The motherdrone has high-power processing capacity for target identification, selection and designation. The mini-drones would be like this, using disposable homing tech.

  • @WRDO
    @WRDO 2 місяці тому

    Are you using goturn tracker 😊

    • @timelapsecoder
      @timelapsecoder  2 місяці тому

      no, i made my own private custom algorithm

  • @devinbin
    @devinbin 2 місяці тому

    Hello, where do you collect your materials from?

    • @timelapsecoder
      @timelapsecoder  Місяць тому

      Hello, if you mean the video, same as where we find random things... the internet. :)

  • @withlovearoundtheworld4496
    @withlovearoundtheworld4496 9 місяців тому

    But sometimes your tracker loss the track of the object and jump to other locations, in real world you will miss the target.

    • @timelapsecoder
      @timelapsecoder  9 місяців тому +4

      The tracking loss is often due to the static from transmission on these test videos. That is assuming the tracking calculation is remote. Transmission is subject to jamming.
      In real application, the drone will have very clear video that feds an onboard tracking system. It can still miss due to algorithm limits, but far fewer and smaller errors than the big jumps you see here. Also, I am still improving this system. :)
      Finally, small errors can be manually overridden. Military grade drones tend to have terminal manual adjustments to help correct final approach trajectory (see Lancet, Spike, etc.; the last second aim adjustments do not correlate with a vision system, so they must be human corrections).

    • @withlovearoundtheworld4496
      @withlovearoundtheworld4496 9 місяців тому

      @@timelapsecoder also you need to handle some delays from the time you select the tracker position in the ground system and the time it update back to the drone, sometimes due to link delay it may place the tracker on the wrong position. The is solution for this problem be have buffer of frames in the memory of the drone and run from past till current time and place the tracker in the correct position.

    • @timelapsecoder
      @timelapsecoder  9 місяців тому +1

      @@withlovearoundtheworld4496 I am taking it further (not shown). Selecting a moving target is hard. But I can freeze the frame and select a non-moving target, then have the tracker catch up to the live frame. This of course requires a faster than FPS algorithm, which this does.

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

    Є можливість поділитись кодом? Я займаюсь схожими задачами, але з ШІ моделями.

  • @phamnhuthai6847
    @phamnhuthai6847 Місяць тому

    I actually did this 12 years ago. The concept almost same with yours, But not self suicide drone.

    • @timelapsecoder
      @timelapsecoder  Місяць тому

      People like to watch, and The Algorithm promotes, videos that are like this. If I track something harmless like a balloon, no one will click.
      Maybe I'll track a cat next.

  • @maheshkumar_2017
    @maheshkumar_2017 5 місяців тому

    hey can we communicate?

  • @user-ib8se9ee2s
    @user-ib8se9ee2s 3 місяці тому

    Hello. Your work would be very useful to Ukraine. Would you be willing to share your code if contacted by the official representatives?

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

      Working on developing this into maybe a hardware system instead of plain text code.

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

    I would like to speak with you. How may I contact you?

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

    If you are not a Russian citizen, we can do a joint project with you

  • @bigmoneymoneybags
    @bigmoneymoneybags 21 день тому

    Cool project! I am wondering if you have any public code for the autonomous target tracking. Also, would it be better to run target tracking at a ground station and send the control information to the drone or can the tracking be done directly from the flight controller?

    • @timelapsecoder
      @timelapsecoder  21 день тому

      Thanks. Just private code. Ground station is great for better tracking computations, but video transmission might be poor sometimes.

    • @bigmoneymoneybags
      @bigmoneymoneybags 21 день тому

      @@timelapsecoder Yeah the video transmission is the only issue im worried about. Thinking of using the Eachine ROTG02 so I can just use anything with a USB port for a video display.

    • @bigmoneymoneybags
      @bigmoneymoneybags 21 день тому

      Well that and powering two small magnetic actuators but I might be able to use the extra esc pads or change some flight controller pads around.

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

    you are ironman 0.1 lol

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

    Я уже написал программу, которая наводится по упреждающей метке, теперь буду стараться сделать такой дрон, для того, что бы внести свой вклад в победу над неонацизмом

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

      This technology is of great importance to both sides
      This future was predicted long ago

  • @michaelzhehalo2330
    @michaelzhehalo2330 3 місяці тому +1

    Its fake video

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

      It's real, bro. trust me bro.

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

      you taking russian money to make fake videos@@timelapsecoder

    • @phamnhuthai6847
      @phamnhuthai6847 Місяць тому

      You’re not programmer, you won’t understand. Try to learn hello world app first

    • @michaelzhehalo2330
      @michaelzhehalo2330 Місяць тому

      first video it's STERNENKO video(left up angle), he showed first using Target lock several days ago, before it all user controlled, including this one. It doesn't work like on video.@@phamnhuthai6847

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

    fake and post FX.

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

      Fake=no, post=yes, but you are free to interpret however you want. Good luck to you.