Target lock and tracking on FPV drone | AI Computer Vision Target Tracking Tech for Autonomous Drone

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

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

  • @timelapsecoder
    @timelapsecoder  Год назад +7

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

      yeap, if you live in Ukraine)

    • @Oleksandr-b5e
      @Oleksandr-b5e Год назад +7

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

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

    • @МаксимКиндрицкий
      @МаксимКиндрицкий 11 месяцев назад

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

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

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

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

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

      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.

  • @atrefonasful
    @atrefonasful Месяц назад

    Curious what ai accelerator you are running? Are you running off a raspberry pi5 with coral or like a Jetson?

  • @Vanchick87
    @Vanchick87 Год назад +6

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

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

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

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

      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.

  • @devinbin
    @devinbin 7 месяцев назад +1

    Where do you get your video materials from? Can you share them?

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

      Random videos from the internet or youtube. They are easy to search.

  • @오이닝-f2i
    @오이닝-f2i 11 месяцев назад +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  11 месяцев назад

      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.

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

      @@timelapsecoder did you use opencv algorithms or constructed your own from scratch?

    • @timelapsecoder
      @timelapsecoder  4 месяца назад +2

      @@AndriiMatsevytyi made my own. did not benchmark against opencv trackers, but just testing what i could do from scratch. i use opencv for supporting functions like opening video, showing images, etc. this can be done in PIL also, but i already had an opencv base.

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

      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 Год назад

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

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

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

      @@PeterA650 Maybe a little late but maybe a interesting project would be a UAV that orients around multiple ground based IR emitters, they are placed in a way that the drone can use their orientation to determine the drones height and location. I have no idea if this would work but just a idea

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

    do you have an git repo? me and a friend is also working on some ideas like this

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

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

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

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

    Can you share please videos that yoy used to test you system?

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

      i don't have them. just a bunch of random videos from the internet.

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

    As i can see every time it locating an object it update the previous template that was used to detection to a new one and until the end. In the end of the video this algorithm starts to glitching and it gets road part as a template.

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

      Yes. The jamming static causes problems. There are ways around it. The transmission static is not a problem if the processing is onboard.

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

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

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

      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.

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

    Are you using goturn tracker 😊

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

      no, i made my own private custom algorithm

  • @omumbare8582
    @omumbare8582 Год назад +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 9 месяцев назад +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?

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

      Lol​@@SKM_KB

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

      ​@@SKM_KByeah. Some people suck in UI design. Me included)

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

      May i ask you one question - did you use openCV template matching?

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

      @@aviator1472 What ui? literally some text and squares 🤡

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

    Hello, where do you collect your materials from?

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

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

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

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

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

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

  • @MohammadIbrahim-tf8rd
    @MohammadIbrahim-tf8rd Год назад

    Great
    What is the tracking algorithm this time?

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

      PF with some secret sauce! :)

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

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

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

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

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

    • @RobinHood-qg2xz
      @RobinHood-qg2xz Год назад

      hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
      @@timelapsecoder

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

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

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

      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.

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

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

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

    hey can we communicate?

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

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

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

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

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

    • @timelapsecoder
      @timelapsecoder  9 месяцев назад +1

      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.

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

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

  • @ДмитрийФидорко
    @ДмитрийФидорко 11 месяцев назад

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

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

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

    you are ironman 0.1 lol

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

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

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

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

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

    hhhhhhhhhhh cool honey pot

  • @michaelzhehalo2330
    @michaelzhehalo2330 11 месяцев назад +1

    Its fake video

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

      It's real, bro. trust me bro.

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

      you taking russian money to make fake videos@@timelapsecoder

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

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

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

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

    fake and post FX.

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

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

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

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