I create AI tracking drone using DJI Tello

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 157

  • @Grunderwear
    @Grunderwear Před 5 měsíci +2

    Excellent video! I know this is a 3 y/o video now, but I've been doin a lot with Tello EDU swarms lately. You really nailed the CV capabilities. Nice clean code. Very impressive.

  • @LaraYNEAbouelnour
    @LaraYNEAbouelnour Před měsícem

    Amazing Video! Looking forward to experimenting with my Tello!

  • @panagiotis9656
    @panagiotis9656 Před 2 lety +3

    You're going places dude... great job.

  • @junaidhalepota9289
    @junaidhalepota9289 Před 4 měsíci

    Good to see you Bazli!
    Hope you are well.

  • @woosal-kc7tr
    @woosal-kc7tr Před 4 lety +7

    Impressive and enjoyable. Could you also make a brand new video about the installation, and training process of the newest yolov4 object detector?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +2

      Glad you enjoy it! Sure, I've planned to make video in details on how the installation and training for yolov3 since I'm limited by my GPU at the moment. But the process is very similar.

    • @woosal-kc7tr
      @woosal-kc7tr Před 4 lety +1

      @@robotandcode1474 as yolov4 also was released, you might even try on that one.

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +2

      YOLO installation with CUDA and cuDNN published now at czcams.com/video/TKcDksx1y9E/video.html

    • @woosal-kc7tr
      @woosal-kc7tr Před 4 lety

      @@robotandcode1474 Thanks you so much mate, really appreciated!

  • @markswaringen923
    @markswaringen923 Před 3 lety +2

    Great project and video, keep up the excellent work!

  • @dmoore1791
    @dmoore1791 Před 3 lety +10

    play at 0.75 speed, you'll thank me

    • @andrewh5640
      @andrewh5640 Před 3 lety +1

      after i watched it the first time i did just that...because damn that first run was fast! lol but good.

  • @paulopatto8283
    @paulopatto8283 Před 3 lety +2

    Wow!!! Great!
    Congrats for this. Likes It.

  • @xixthz
    @xixthz Před 4 lety

    Terbaik Bazli. Teknikal kencang vid. Boleh pi jaoh

  • @UrbanAnimalsTeam
    @UrbanAnimalsTeam Před 3 lety

    Level up idea...
    Once the drone sees your face and classifies you as you, it locks onto your body so you no longer have to be looking at the drone for it to follow you?
    Then, the drone could be an action camera? Follow you snowboarding down a mountain? Or doing a line of tricks on a skateboard?
    Dunno how feasible this actually is, but I think I'm gonna have to have a play.... :D

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      Brilliant!! Might try it 😊, there are existing app actually that had this implemented like Tello FPV though.

    • @UrbanAnimalsTeam
      @UrbanAnimalsTeam Před 3 lety

      @@robotandcode1474 Could you send me any links to the existing app? I'd like to check it out

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      @@UrbanAnimalsTeam I haven’t try this app ever, but here is the link play.google.com/store/apps/dev?id=5552407244136644970

    • @UrbanAnimalsTeam
      @UrbanAnimalsTeam Před 2 lety

      @@robotandcode1474 Not sure if you're interested, but I completed this idea for my undergraduate. Video's not great but:
      czcams.com/video/QLc8DUyQ5z8/video.html
      I used Yolov4t and deepsort. It works perfectly!

  • @BenDextlin
    @BenDextlin Před 2 lety +1

    Hello I respect the fact that you try as much as you can to respond to people's comment. My own is, I wrote a OpenCV code for detecting mined and unminned areas for for gold. How do I infuse the code for a Dji phantom to use the code to detect the Mined and unminned areas in the air ? If possible how do I contact connect with you? Thanks.

  • @airdog7566
    @airdog7566 Před 3 lety +1

    Hi, great idea , interesting implementation !

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Glad you find that interesting 😊. Thanks for watching 👍

  • @muriloteixeira5541
    @muriloteixeira5541 Před 4 lety +3

    Hello.
    I have a problem:
    My code don't open a cv2 window, so I can't see any image from my Tello.
    I used this code:
    import socket
    import cv2
    tello_video = cv2.VideoCapture('udp://@0.0.0.0:11111')
    while True:
    try:
    ret,frame = tello_video.read()
    if ret:
    cv2.imread(frame)
    cv2.waitKey(1)
    except Exception as err:
    telllo_video.release()
    cv2.destroyAllWindows()
    print(err)

    • @murilofreef1329
      @murilofreef1329 Před 4 lety +3

      I have the same problem

    • @jacksonteixeira1199
      @jacksonteixeira1199 Před 4 lety +2

      The same ocurred with me

    • @muriloteixeira5541
      @muriloteixeira5541 Před 4 lety +1

      Can we help us?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +1

      Hi, 1) can you post what’s the error? 2) which OS did you use to run this script?

    • @muriloteixeira5541
      @muriloteixeira5541 Před 4 lety +1

      @@robotandcode1474 There is no error message, the program simply crashes and nothing happens. I realized that the program sttoped on line: "tello_video = cv2.VideoCapture('udp://@0.0.0.0:11111')" for a while and I also checked that the 'ret' variable is false.

  • @mikemihay
    @mikemihay Před 2 lety

    Awesome work!

  • @turkfx
    @turkfx Před 2 lety

    Nice work bro

  • @thesound-x9627
    @thesound-x9627 Před 3 lety

    channel malaysia bhai.perhh padu

  • @aaronmarkstaller
    @aaronmarkstaller Před rokem +2

    Nice. You releasing the code files for this and turning controls?

  • @RealRaw369
    @RealRaw369 Před 3 lety

    God bless you, you are doing well.

  • @aeneaslee3652
    @aeneaslee3652 Před 5 měsíci

    Hi there! It's a nice job. In the source code, I found only several independent files. I don't know how do you do to send the yolo data to the drone. Is that missing, I am really interested in realize the same things on my own:) Thx a lot!

  • @carbkafv
    @carbkafv Před 3 lety +1

    Finally got my tello to work for my laptop! The battery really is a pain lol... One question for your face tracking, did you use PID control to make the drone follow you?

  • @jackotatty
    @jackotatty Před 3 lety +1

    My tello drone keeps moving to the left even though I'm not commanding it to do anything. How can I stop this? What python version do you recommend

  • @aaronot_not_not
    @aaronot_not_not Před rokem +1

    Hello, what did you do in the code for making the drone follow you? You referenced that, but never showed the implementation in the code. Your explanation or source code would be very helpful. Thanks!

  • @KnightLifeVlogs
    @KnightLifeVlogs Před 3 měsíci

    amazing brother we should talk about this where can we be in contact

  • @user-nl4qn4cm8n
    @user-nl4qn4cm8n Před 3 lety +4

    Hi, it’s very impressive to see your work. And I wonder if you can share the whole code with us, it will be very helpful.Thank you a lot!!!!

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +2

      Hi, thanks for the compliment 😊. The code is not ripe, so can’t publish it yet.

    • @user-nl4qn4cm8n
      @user-nl4qn4cm8n Před 3 lety

      RobotAndCode it’s ok. Still feel nice to see your video. Looking forward to your completed code!!

    • @sudhanva.m
      @sudhanva.m Před 2 lety

      @@robotandcode1474 Hey! Wonderful video, loved how well you explained everything. Can you please share the source code for linking the face detection with drone controls? Thanks in advance!

    • @masmoudi5595
      @masmoudi5595 Před rokem

      @@robotandcode1474 is the code ripe yet? 🙂

  • @patricknejad6779
    @patricknejad6779 Před 3 lety +2

    Hi and thanks for a great video, I'm looking to learn python and wanted to play with Tello, Don't I need the EDU version to do Python? is something missing on the non EDU version that I can do with the EDU version?

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      Hi, thanks you find it great 😊. Both Tello version can be controlled by SDK over UDP protocol which you can use Python for it. But Tello EDU has more functionality such as swarming.

  • @LautBiru878
    @LautBiru878 Před 3 lety

    ur work is..woww!!!

  • @mallamasj7019
    @mallamasj7019 Před rokem

    Is that the model Tello Ryze? thanks for the video.

  • @jeremyweekly667
    @jeremyweekly667 Před 2 lety

    idk but when i command to take off it doesn't take off, just turning on the motor faster and the sound loud

  • @ourinnovativegamer3565

    can u tell me which software did you use for writing the program?. As you have told nothing about any of this stuff.

  • @sunnysolution3767
    @sunnysolution3767 Před 4 lety

    Very amazing !!!

  • @aideiramli8549
    @aideiramli8549 Před 4 lety

    Thanks .

  • @eddwinpaz
    @eddwinpaz Před 3 lety

    I'm trying to control a DJI mavic mini 2 with my linux PC and get the video stream at the same time. Any ideas?

  • @fumiyaoyakawa4640
    @fumiyaoyakawa4640 Před 2 lety +1

    Hi, you running the .py on cmd?

  • @aqeelyusof7413
    @aqeelyusof7413 Před 4 lety

    Ehh robot boy lama xda jumpa brader hahaha

  • @b_sgaming3027
    @b_sgaming3027 Před 7 měsíci

    Bro it's a great project just please give us the whole code please

  • @jremmo2000
    @jremmo2000 Před 8 měsíci

    I have ryze tello...how to start coding ?

  • @rayanunknown
    @rayanunknown Před 4 lety +1

    hello. can you help me, when I run tello-stream.py I saw this kind of error:
    Traceback (most recent call last):
    File "tello-stream.py", line 4, in
    import cv2
    ModuleNotFoundError: No module named 'cv2'

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +1

      Hi, you need to install opencv and python-opencv module before run this script. Checkout my snippet for install these module. bitbucket.org/RobotAndCode/workspace/snippets/Eb7dke/easy-install-yolo-darknet-requirements

  • @geetanjalimhaskar1260
    @geetanjalimhaskar1260 Před 3 lety

    Hey Can u tell me what is the life of tello drone (Means how many month or year I can use it) .I want to buy it now

  • @maznahbintimatyusof3448
    @maznahbintimatyusof3448 Před 8 měsíci

    Ryze Tello can be programmed??

  • @jackotatty
    @jackotatty Před 3 lety

    Hi there, how can I store the get_height() data as an int that can be used later on in the python script?

  • @KiddyBoyLc
    @KiddyBoyLc Před 4 lety +1

    How does one even connect to the dji tello edu drone? I can't seem to connect my laptop to my drone?
    Can someone help me?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      Developer 1) connect your laptop to Tello’s wifi. 2) send UDP command to IP 192.168.10.1 at port 8889 as in SDK document. dl-cdn.ryzerobotics.com/downloads/Tello/Tello%20SDK%202.0%20User%20Guide.pdf

    • @zzb3905
      @zzb3905 Před 4 lety

      @@robotandcode1474 您好,此代码可以共享吗?我想试试您发的这个代码。谢谢你

  • @thuliocribe103
    @thuliocribe103 Před 3 lety

    he can follow what velocite?

  • @anthony3611
    @anthony3611 Před 3 lety

    Can I get a copy of the coding

    • @xingsoon3860
      @xingsoon3860 Před 3 lety

      :) Check description bitbucket.org/RobotAndCode/tello-ai/src/master/

  • @ilanaizelman3993
    @ilanaizelman3993 Před 3 lety

    I still don't understand, how can I give the drones command and check that he actually finished doing them automatically? For example I have takeoff, forward 50, left 50, how can I check that he finished doing every command and send the next command automatically?

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      For every UDP command send to Tello, Tello would reply either OK/error message.
      You should check that message to confirm if Tello received the command successfully.
      This all documented in Tello SDK documentation.

  • @luqmanrasyidi1514
    @luqmanrasyidi1514 Před 3 lety

    Hi, thank you for the amazing video, I try some of your coding and it was worked for tello-command but do not work on tello-stream.... I already install the opencv, what I do wrong actually? Do I need to run first tello-command and then run the tello-stream, or I just need to run tello-stream only? Please help me, I'm new with python..

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Just in time, please watch my latest video - getting started on software development with Tello. I updated the script to be more comprehensive.
      To summarize, you need to run Tello-command script first, enter SDK command then send “streamon” msg.
      Then after that run tello-video script. Ensure you have opencv installed.

  • @bubu5659
    @bubu5659 Před 3 lety

    How do I connect the yolov3.weights or yolov4.weights to the tello camera? I've been thinking about this for weeks. Please let me know.

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Hi, I stream camera frame from Tello to Python script in my computer and then use Yolo Darknet to process it and classify the object recognized

  • @pinhsiangTseng
    @pinhsiangTseng Před 3 lety

    when i run the"./darknet detector demo training/tello/tello.data training/tello/yolov3-tiny.cfg training/tello/yolov3-tiny_68000.weights"
    the video stream of tello cannot open . it always shows "Video-stream stopped! "
    Please help me!!

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Not too sure what’s happen, worth to check if the port 11111 is occupied.

  • @ratnadeepmhaskar1275
    @ratnadeepmhaskar1275 Před 3 lety

    Hey what is average life of tello drone. I want to buy it 😁😁😁

  • @nvembrace
    @nvembrace Před 3 lety

    I would like to ask a question. Is there any propeller you would use other than Tello that are colored? I don't want to end up buying cheap unbalanced propellers.

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      For me I always get official Tello propeller 😅

    • @nvembrace
      @nvembrace Před 3 lety

      @@robotandcode1474 I hear you on that and I knew you were the right person to ask. Thank you

  • @mehmetali2634
    @mehmetali2634 Před 4 lety

    great job. which code are you runnning for full tracking mode?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      The full tracking mode code I use in this video is not yet published. Think to keep it private for now until its ready.

    • @ezguliksariyoll
      @ezguliksariyoll Před 4 lety

      @@robotandcode1474 you are saying that its not published yet how you can be sure about its not copy version of another apps result you are showing us that you created AI tracking, because there are some app has been introduced using Tello drone tracking

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      @@ezguliksariyoll Surely someone has developed this kind of application before me. Even though the behavior might similar but the code implementation is from my own design and perspective (some SDK are derived from others repo too such as TelloPy, PyTello, etc.). On my future incoming video, I'll show some part of my code implementation.

  • @carbkafv
    @carbkafv Před 3 lety +1

    did you use all 500 images of yourself? I can only find 40 or so images of myself haha.. I am thinking how should I increase the size of my dataset

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +3

      Yes, one method that I used to increase my dataset is by recording myself, then split the video frame into a bunch of images. Checkout this repo for the script I made earlier bit.ly/3rWTmNd

    • @carbkafv
      @carbkafv Před 3 lety +1

      @@robotandcode1474 oh that’s smart! I just finished training an hour ago and I think 40 images still works but the feed was kind of lagging. Do you know if increase in dataset would increase the FPS of my video feed? Just curious.

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      @@carbkafv FPS does not do anything with trained images number. FPS rely on GPU you used and trained model (yolov4/yolov3/yolov3-tiny). For example, if you want to increase FPS for the detection, you can try on yolov3-tiny model.

    • @carbkafv
      @carbkafv Před 3 lety

      @@robotandcode1474 Thanks! I think I was running it with my cpu.

  • @muhammadfadhli9900
    @muhammadfadhli9900 Před 3 lety

    Nice bro..how can i connect your linkedin, so that i can ask you more on this python coding and the overall achitecture system..

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Yes, you can connect with me using the link I share in my CZcams about page or just search Murtadha Bazli in LinkedIn.
      Anyway you are in luck, my in progress video coming in few weeks will talk about architecture and details communication with Tello 😊

  • @luqmanrasyidi1514
    @luqmanrasyidi1514 Před 3 lety

    Hi Bazli, I have a question, I'm using Yolov3 as my pre train model to train my object detection model, I want to know how do you eliminate or reduce the latency of video streaming while running a model through tello? What I'm facing now, due to big latency and skipping some frames, my model hardly to detect the object and give faulty detection. I'm hoping you could reply my comment thank you..

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      If you face yolo give false-positive object detection usually thats mean there are not enough trained image for the model.
      I’ve never skip frames when using yolo, worth to mention yolo required decent gpu to work for real time application.
      I think when you skip some frame, the image maybe blurry hence trained model is not prepared for that. Maybe..

    • @luqmanrasyidi1514
      @luqmanrasyidi1514 Před 3 lety

      @@robotandcode1474 Thank you for the feedback, can I know do you using Yolo weights or Yolo-tiny weights?

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      @@luqmanrasyidi1514 I've tried both of them, yolo-tiny have lower performance than yolo, but yolo need decent gpu to run for good fps (can check on the repo to see the performance graph).
      For this video I'm using yolov3-tiny. At this time yolov3 is too heavy for my gpu to run.

    • @luqmanrasyidi1514
      @luqmanrasyidi1514 Před 3 lety

      @@robotandcode1474 ok thank you for sharing

  • @oswaldsteward5301
    @oswaldsteward5301 Před 2 lety

    Macam nak buat Al Saya Tak pandai buat Al

  • @ekamilenia2469
    @ekamilenia2469 Před 3 lety

    contoh program/code nya dimana kak?

  • @esenin6858
    @esenin6858 Před 3 lety

    Hello
    can u help me
    my dji tello edu cant connect to pc
    whats is problem

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Hi 👋, first you need to ensure Tello is turned on and broadcast it’s AP, second double check Tello’s AP password. AP is stand for Access Point work similar to WiFi router.

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Hi, my recent upload explained in details on how communication made between Tello to PC, thought you would be interested.

  • @zambitogaetano
    @zambitogaetano Před 4 lety

    hi, the link to the source code for object recognition don’t work!

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      Seem the issue coming from BitBucket, perhaps it will resolve soon.

  • @uberraschungknoblauch342
    @uberraschungknoblauch342 Před 3 lety +1

    can you share a complete file?

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Hi, the complete file is not ready to publish to public yet, but currently I in progress providing detailed design and architecture for others to replicate the work.

  • @sanasomaralejandrogarciaal4281

    What is the purpose of speeding the video? Do you wanna show how you did the proyect or you don´t?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      Hi. Thanks for watching, some of the clip I thought people may not interested thus speeding it up. Not sure which part do you think I should slow it down?

    • @sanasomaralejandrogarciaal4281
      @sanasomaralejandrogarciaal4281 Před 4 lety

      @@robotandcode1474 The parts where you clic at some parts, its hard to tell what you clic on.

    • @murtadhabazli7615
      @murtadhabazli7615 Před 4 lety

      Omar Garcia alright, better screen recording in the future then 😅

  • @pinhsiangTseng
    @pinhsiangTseng Před 3 lety

    How long is the training time? (If i have cuda and opencv)

    • @robotandcode1474
      @robotandcode1474  Před 3 lety +1

      I use 3k images and train using GTX1050. If I remember it took around 3-4 hours to get decent usable model.

    • @pinhsiangTseng
      @pinhsiangTseng Před 3 lety +1

      @@robotandcode1474 thanks a lot

  • @MartPixChannel
    @MartPixChannel Před 4 lety

    guna ubuntu ke? aduh aku tak pandai main coding ni..

  • @vedranbuterin2595
    @vedranbuterin2595 Před 3 lety

    I want to buy open air bottom cover. I am from croatia

    • @robotandcode1474
      @robotandcode1474  Před 3 lety

      Hi, you can checkout 3D design link (Thingiverse) I put in the video about the open air bottom cover and print it yourself.

  • @sashthecreator
    @sashthecreator Před 4 lety

    Hello, does this process work with windows?

    • @sashthecreator
      @sashthecreator Před 4 lety

      Also the sourcecode for yolo darknet isn't working, please I really need your help, I'm working on a project. Thank you

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      I've never tried using Windows for the whole compile and training process but, I'm sure the process is similar.

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      YOLO Darknet repository I used and referencing is github.com/AlexeyAB/darknet and working very well up till now. I currently making a video with detail explanation for the whole installation and training process. Stay tuned ☺!!

  • @Kishi1969
    @Kishi1969 Před 3 lety

    Your video is too fast or do you have your Github of your code please?

    • @xingsoon3860
      @xingsoon3860 Před 3 lety +1

      Check the description please. bitbucket.org/RobotAndCode/tello-ai/src/master/

    • @Kishi1969
      @Kishi1969 Před 3 lety

      @@xingsoon3860 Thanks

  • @zzb3905
    @zzb3905 Před 4 lety

    ?,could you share your code with me,可以发下您的代码吗

  • @electriceng8771
    @electriceng8771 Před 4 lety

    In which university did you study in Malaysia?

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +1

      Hi, I studied at Universiti Teknologi Malaysia (2014)

    • @electriceng8771
      @electriceng8771 Před 4 lety

      @@robotandcode1474
      I love UTM.
      I want to complete my master degree and phd at University of Malaya.
      Do you recommend that?
      Thank you for your response.

    • @robotandcode1474
      @robotandcode1474  Před 4 lety +1

      Sure, I think for master/phd, supervisor expertise for the research topic is more important rather than university.

  • @rexverdz2579
    @rexverdz2579 Před 4 lety +1

    your idea is good BUT! your teaching method is too FAST. Can't follow. it's not a STEP-BY-STEP.

    • @robotandcode1474
      @robotandcode1474  Před 4 lety

      Thanks for watching :D. Yup, agreed with you unfortunately a lot of things to cover up and this video intended to show mostly the result.

    • @rexverdz2579
      @rexverdz2579 Před 4 lety +1

      So hoping next time you will make a video intended for tutorial

  • @mendysrugo5695
    @mendysrugo5695 Před 3 lety

    send me your email I would like to buy the script

  • @rafaelmdiaz11
    @rafaelmdiaz11 Před 3 lety +1

    SLOW THE F**CK DOWN !!! TOO MUCH COFFE ??

    • @xingsoon3860
      @xingsoon3860 Před 3 lety

      His speed is normal, you're just fucking too slow