openCV python aimbot with Arduino based laser turret

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2022
  • Thanks to my amazing friends: Jayant, Raghav, Dev and Farhan for their help.
    the code is on GitHub but its difficult to understand and I am too lazy to improve it so sorry in advance 🙂 github.com/dhruv221/Arjuna-Timby
    here's the video you all have been wailing for:
    • Python OpenCV : auto a...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 87

  • @elvishsharma8137
    @elvishsharma8137 ปีที่แล้ว +46

    Bro if possible then plz make a video regarding code explanation. Thanks.

  • @twentylush
    @twentylush 2 ปีที่แล้ว +49

    I think the accuracy is bottlenecked by the servos, the software works great! Free spinning servos with a well tuned PID would probably make this thing shockingly responsive, quick, and accurate. Awesome work

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  2 ปีที่แล้ว +5

      Thanks ✌️

    • @scorn6060
      @scorn6060 11 หลายเดือนก่อน +4

      Great insight man, rare to see that in a comment section

    • @juancho1788
      @juancho1788 3 หลายเดือนก่อน

      Tal vez el pid esté mal sintonizado

    • @demonman1234
      @demonman1234 3 หลายเดือนก่อน

      Ik this comment is a year old, but yeah. These cheap blue servo’s aren’t quite the most accurate things in the world.. I think just any higher quality servos would probably work fine tbh.

  • @-dash
    @-dash ปีที่แล้ว +12

    “Boy, that's just a straight shooter with upper management written all over him.”
    -Lockheed Martin after seeing this video

  • @EpicBob_tv
    @EpicBob_tv 8 หลายเดือนก่อน +2

    finally somebody making good video on youtube shorts

  • @lostInSocialMedia.
    @lostInSocialMedia. ปีที่แล้ว +8

    Is there any complete tutorial of step by step guide for this ?

  • @someone3195
    @someone3195 2 ปีที่แล้ว +4

    Whoa! This is exactly what I was trying to do! Thanks so much for sharing. How do you detect the distance? With the camera or the laser?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  2 ปีที่แล้ว +2

      Thanks ✌️. Check out the discription I have shared the GitHub link you can find the code there

    • @someone3195
      @someone3195 2 ปีที่แล้ว

      @@Dhruv.Wadhwa Do you have the circuit diagrams?

    • @legendrags
      @legendrags ปีที่แล้ว

      i recommend use ultrasound for distance. it’s pricey but yeah, it’s simple

    • @user-ze3zo1tn3k
      @user-ze3zo1tn3k 8 หลายเดือนก่อน

      @@Dhruv.WadhwaGitHub? plz send to link plz

    • @JaceN3D
      @JaceN3D หลายเดือนก่อน

      @@legendragsthere are cheap ultrasonic sensors that you can purchase

  • @Nucleartipboy
    @Nucleartipboy หลายเดือนก่อน

    Great

  • @DFSA-cw1uz
    @DFSA-cw1uz 7 หลายเดือนก่อน

    Wow

  • @user-ck1xz6bc1s
    @user-ck1xz6bc1s 19 วันที่ผ่านมา

    Hi, Im building something similar and I need some help:
    1. How did you were able to get the Z value from a 2d photo? I mean how did you find the distance of the hand from the camera because you cant see depth
    2. how were you able to recive the units in centimeters? and not pixels of the screen?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  18 วันที่ผ่านมา

      Check out my most recent video, I've explained everything and also provided the code.

  • @Dan-codes
    @Dan-codes ปีที่แล้ว

    Sweet.

  • @Liebendan
    @Liebendan หลายเดือนก่อน

    Would love to learn how to do this but stream the trackimg on a blynk or web app

  • @hambaallah85884
    @hambaallah85884 ปีที่แล้ว

    very cool

  • @xivaspace5861
    @xivaspace5861 2 หลายเดือนก่อน

    Are you using yolov5, to track the movement

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  หลายเดือนก่อน

      No just detecting hand co-ordinates using opencv and performing manual calculations to track

  • @hectikrehan
    @hectikrehan 4 หลายเดือนก่อน

    Bro we need full video we support u ❤❤❤❤❤❤❤❤

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  4 หลายเดือนก่อน

      Thanks mate! Its already on the channel tho 😅

    • @hectikrehan
      @hectikrehan 4 หลายเดือนก่อน

      Ok Bro I didn't check btw love from UP❤

  • @vipul972
    @vipul972 6 หลายเดือนก่อน

    This was my final year college project got 10/10 😂

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  6 หลายเดือนก่อน

      Cool!!👌

    • @RubixCubix_
      @RubixCubix_ 2 หลายเดือนก่อน

      What course?

  • @premmurade6681
    @premmurade6681 11 หลายเดือนก่อน

    I am using ov7670 camera but it is not working can you give me code to run this please🙏🙏

  • @chentouflarbi638
    @chentouflarbi638 ปีที่แล้ว

    Very good now make it faster

  • @g_rr_tt
    @g_rr_tt 10 หลายเดือนก่อน +1

    I would use cpp for that bot

  • @Deristrome
    @Deristrome ปีที่แล้ว

    Hello, beginner here. How do you make it so the code sends the signals for the arm to move and point to the specific point?

    • @gyrozeppeli5390
      @gyrozeppeli5390 ปีที่แล้ว +1

      My guess would be tracking the hand position coordinates and then it converts those coordinates for the servo motors to move

    • @YourLocalWarGorilla
      @YourLocalWarGorilla 6 หลายเดือนก่อน

      for hand coordinate its pretty easy there are many tutorials on youtube

  • @cxzv3
    @cxzv3 5 หลายเดือนก่อน

    So that will be a us military torrent

  • @Jarniwan
    @Jarniwan 8 หลายเดือนก่อน

    do i need a raspberry pi if i want to have the device working independently.

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  8 หลายเดือนก่อน

      Yess some sort of a single board computer

  • @1aboPLZ
    @1aboPLZ ปีที่แล้ว +1

    You have to give it a ultra sonic sensor so you can detect mosquitoes xD

  • @Pasason
    @Pasason ปีที่แล้ว

    Which Libraries you used? Like Tensorflow, mediapipe... I got this error msg:
    Traceback (most recent call last):
    File "c:\Users\sabal\Desktop\Arjuna AAT\Arjuna Timby.py", line 2, in
    _utils.py", line 24, in
    from mediapipe.framework.formats import detection_pb2
    File "C:\Users\sabal\anaconda3\lib\site-packages\mediapipe\framework\formats\detection_pb2.py", line 8, in
    from google.protobuf.internal import builder as _builder
    ImportError: cannot import name 'builder' from 'google.protobuf.internal' (C:\Users\sabal\anaconda3\lib\site-packages\google\protobuf\internal\__init__.py)

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      I've used opencv, numpy, cvzone, serial and a custom library angles.py which is there on my GitHub repo. The error u r getting seems like a version error. Try running on ide like vs code, pycharm with up to date libraries.

    • @Pasason
      @Pasason ปีที่แล้ว

      @@Dhruv.Wadhwa Hey, can you make video ? please it will be helpfull for all

  • @mcd_one
    @mcd_one ปีที่แล้ว

    Hello. Could you share the list and codes of the devices you used in this project with me?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว +1

      Check out the link in the description for code

  • @ayokurdo1888
    @ayokurdo1888 ปีที่แล้ว

    Please source code ?

  • @winwiths.g6155
    @winwiths.g6155 10 หลายเดือนก่อน

    which camera module is he using?

  • @panzznine713
    @panzznine713 ปีที่แล้ว

    hello sir, can i ask what module for distance measuring sensor used?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      Its done using the webcam only

    • @panzznine713
      @panzznine713 ปีที่แล้ว

      @@Dhruv.Wadhwa ohhh, how about the dimension appering in the annotated box?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      @@panzznine713 hv a look at the code in discription. I am detecting 2 points on the hand. The real life distance between those two points on my hand remain constant. Then i created a function that takes in the virtual distance between tracking points (ie the value computer sees in pixels) and output the distance of how far my hand is from the camera. This function was created by making some measurements for my particular camera lens. This requires some math and trigonometry knowledge.

    • @panzznine713
      @panzznine713 ปีที่แล้ว

      @@Dhruv.Wadhwa auuuuuuuh, now it make ssense lol, ty good sir and nice program btw, was planning a projct with robotic arms using arduinop but im a total newbie to python, im planning to learn some basics of python, any recommendation on wat topics to start with?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      @@panzznine713 if u know Arduino programming then python basics would be very easy for you. Just learn functions and classes as they are used quite a lot.

  • @locgiuptimgoc
    @locgiuptimgoc 5 หลายเดือนก่อน

    Github where, plssss I'm Vietnamese

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  5 หลายเดือนก่อน

      Its on my channel th-cam.com/video/i2odaMNlr0s/w-d-xo.htmlsi=ZVVOuQWFK7MGZF5n

  • @RubixCubix_
    @RubixCubix_ 2 หลายเดือนก่อน

    How painful is getting Open CV on Arduino

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  2 หลายเดือนก่อน

      Opencv is running independently on my laptop and sending the turret angles through serial communication. OpenCV isn't built to be compatible with Arduino.

    • @RubixCubix_
      @RubixCubix_ 2 หลายเดือนก่อน

      @@Dhruv.Wadhwa ah

  • @Hajdew
    @Hajdew 2 ปีที่แล้ว +1

    new laptop?

  • @VietnameseBoii
    @VietnameseBoii 4 หลายเดือนก่อน

    Share it to the US Army

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  4 หลายเดือนก่อน

      Pretty sure they already have it

    • @VietnameseBoii
      @VietnameseBoii 4 หลายเดือนก่อน

      @@Dhruv.Wadhwa Make something more complex and share to them

  • @kalimartime8484
    @kalimartime8484 3 หลายเดือนก่อน

    what is cm? how to enable this?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  3 หลายเดือนก่อน +1

      Thats centimetres !! Dude u are one hell of an imperial guy 😂

    • @kalimartime8484
      @kalimartime8484 3 หลายเดือนก่อน

      @@Dhruv.Wadhwa I know what is it. how did you make them appear?

  • @Tianmiza
    @Tianmiza 23 วันที่ผ่านมา

    Source Code?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  19 วันที่ผ่านมา

      In description

  • @tonyjaa4451
    @tonyjaa4451 หลายเดือนก่อน

    could you please share the codes?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  หลายเดือนก่อน

      In description

  • @02-ovanchi33
    @02-ovanchi33 ปีที่แล้ว

    can you share documents opencv for me :((

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      Im sorry what documents are you referring to?

  • @FelixMogard
    @FelixMogard 7 หลายเดือนก่อน

    Now use a gun

  • @tnpa136
    @tnpa136 ปีที่แล้ว

    low latency, can you make more ?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      U want me to decrease the latency even more? Not sure what the question means

    • @debadritoduttaedits
      @debadritoduttaedits ปีที่แล้ว

      @@Dhruv.Wadhwa lol

  • @shivamsati621
    @shivamsati621 ปีที่แล้ว

    Code for this?

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  ปีที่แล้ว

      Its there in the description ✌️

  • @Wan_Destroyer
    @Wan_Destroyer ปีที่แล้ว

    Its actually not aimbot 😂

  • @booky6149
    @booky6149 5 หลายเดือนก่อน

    Bro please develop tools to solve the REAL problems that is useful for society. Not like this! 😡

    • @Dhruv.Wadhwa
      @Dhruv.Wadhwa  4 หลายเดือนก่อน

      Okay sorry 😂😅

  • @8d13sayakbandyopadhyay2
    @8d13sayakbandyopadhyay2 ปีที่แล้ว

    Bro do you have insta or something that we can have a conversation in , it will be very helpful for me I am literally struggling r8now