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... - วิทยาศาสตร์และเทคโนโลยี
Bro if possible then plz make a video regarding code explanation. Thanks.
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
Thanks ✌️
Great insight man, rare to see that in a comment section
Tal vez el pid esté mal sintonizado
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.
“Boy, that's just a straight shooter with upper management written all over him.”
-Lockheed Martin after seeing this video
lol
finally somebody making good video on youtube shorts
Is there any complete tutorial of step by step guide for this ?
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?
Thanks ✌️. Check out the discription I have shared the GitHub link you can find the code there
@@Dhruv.Wadhwa Do you have the circuit diagrams?
i recommend use ultrasound for distance. it’s pricey but yeah, it’s simple
@@Dhruv.WadhwaGitHub? plz send to link plz
@@legendragsthere are cheap ultrasonic sensors that you can purchase
Great
Wow
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?
Check out my most recent video, I've explained everything and also provided the code.
Sweet.
Would love to learn how to do this but stream the trackimg on a blynk or web app
very cool
Are you using yolov5, to track the movement
No just detecting hand co-ordinates using opencv and performing manual calculations to track
Bro we need full video we support u ❤❤❤❤❤❤❤❤
Thanks mate! Its already on the channel tho 😅
Ok Bro I didn't check btw love from UP❤
This was my final year college project got 10/10 😂
Cool!!👌
What course?
I am using ov7670 camera but it is not working can you give me code to run this please🙏🙏
Very good now make it faster
I would use cpp for that bot
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?
My guess would be tracking the hand position coordinates and then it converts those coordinates for the servo motors to move
for hand coordinate its pretty easy there are many tutorials on youtube
So that will be a us military torrent
do i need a raspberry pi if i want to have the device working independently.
Yess some sort of a single board computer
You have to give it a ultra sonic sensor so you can detect mosquitoes xD
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)
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.
@@Dhruv.Wadhwa Hey, can you make video ? please it will be helpfull for all
Hello. Could you share the list and codes of the devices you used in this project with me?
Check out the link in the description for code
Please source code ?
which camera module is he using?
OpenCV
hello sir, can i ask what module for distance measuring sensor used?
Its done using the webcam only
@@Dhruv.Wadhwa ohhh, how about the dimension appering in the annotated box?
@@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.
@@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?
@@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.
Github where, plssss I'm Vietnamese
Its on my channel th-cam.com/video/i2odaMNlr0s/w-d-xo.htmlsi=ZVVOuQWFK7MGZF5n
How painful is getting Open CV on Arduino
Opencv is running independently on my laptop and sending the turret angles through serial communication. OpenCV isn't built to be compatible with Arduino.
@@Dhruv.Wadhwa ah
new laptop?
Yeahh
Share it to the US Army
Pretty sure they already have it
@@Dhruv.Wadhwa Make something more complex and share to them
what is cm? how to enable this?
Thats centimetres !! Dude u are one hell of an imperial guy 😂
@@Dhruv.Wadhwa I know what is it. how did you make them appear?
Source Code?
In description
could you please share the codes?
In description
can you share documents opencv for me :((
Im sorry what documents are you referring to?
Now use a gun
low latency, can you make more ?
U want me to decrease the latency even more? Not sure what the question means
@@Dhruv.Wadhwa lol
Code for this?
Its there in the description ✌️
Its actually not aimbot 😂
Bro please develop tools to solve the REAL problems that is useful for society. Not like this! 😡
Okay sorry 😂😅
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
Its dhruvwadhwa2