This is amazing, maybe you should try adding a clip so it could shoot multiple times without needing to reload. I also do coding, I really like this idea.
Something to add to your code in the future: If you sample twice (for a speed calculation), you could probably write a simple fire control loop to lead the motion. Trigger it when the velocity is under a certain setpoint. Well done!
If a guy in his bedroom can come make this, just imagine what kind of insanity DARPA has with a cnc .50 cal mounted on top of a small fast armored vehicle. The implications are seriously terrifying.
How about making that cool Salt gun that kills bugs work on auto sentry mode to kill bugs in ur house? Or does the webcam not have good enough resolution to detect bugs like tiny mosquitos? Awesome vid and inspiring!
That should work with my current project, a walking robot who recoginize 3D enviroment with xbox scanner, It could run at street shooting airsoft bb at people, ty sir.
This is awesome! I was wondering how you programmed the movement of the servo motors to aim based on the coordinates of the pixel of the point above the yellow rectangles. Did you have to gauge the distance of the face from the camera to make certain calculations?
sorry, I don't plan on making a tutorial on this. You should check out Michael's video on his, he uses a different language and does things slightly differently. You can also look at the links in the description for help. Michael's video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HgMQTvDcn_s.html
how is that even the owner will shoot him too? or there's some code that when the system detects it's the owner the system will not shoot him/her owner? can someone enlightened me?
Hi men, awesome video, just a question, How did you run Open CV on an Arduino? Does your Arduino have Linux or any operative system? or where do you process the camera information? cheers mate
Hi, I'm Colonel Huffins from the USA Navy. I would like to meet you because, we think your prototype and your skills could meet a mutual interest with our organization researchs. We'll send a Black Hawk at your home in 24hours, get ready.
Serial commands in both Python and Arduino, can’t remember where I leaned them. But you should be able to google “serial commands” followed by each program and find what you need
Hi. i am wondering if the code is available? i am trying to make a turret with similar functionality to yours, and am currentliy looking for inspiration/advice
I see you had a laptop running the python code and your arduino appears to just be a servo controller, correct? Can you get this to run on a Raspberry Pi so it can all be contained in a small package?
Someone get this man some more toner. Also, why not just drive the electronics off the GPIO of the RPi itself, rather than interfacing with the arduino?
The raspberry pi I have couldn’t handle the face tracking, it’s super old. So I had to run it off a computer making an arduino the best option I know of. Anyone that sent toner would be the real mvp, until then I’m gonna squeeze out every last drop haha
Haha, I couldn’t remember for sure. I know I mentioned one in the social distancing version of this same turret, maybe you saw that? Really I need to buy one of the newer ones, they could handle stuff like this no problem
@@Sciencish hey I saw your video with the face tracking nerf gun. I have done stuff with a raspberry PI but nothing with coding or anything like that, it seems like it would be easy to recreate once you have done it, what I am getting at is could I buy a programmed Arduino or a PI from you with the program ready to go, so I can just hook it up to my equipment to control yaw and pitch, camera, firing source. I have been making a pretty neat drone for the past month or so and I would really like to use this facial tracking for it. It is a FPV Quad that is top of the line and alot of custom attachments I have created. I made a fiber glass landing legs with alot of toys hidden inside. It contains... 1 High Powered 7W Blue Engraving Laser 6 Minature Rockets using Model Rocket Motors with different payloads (2 Flash Bang, 2 Smoke, and 2 Incendiary rockets with a range of around 2,000 ft. 2 Air Powered Automatic BB guns with over 100 BBs ready to shoot. Bear Mace or Pepper Spray that fires from the front and the back, so you can spin while firing and mist entire area. Electric Taser that shoots 20 foot with electric leads that shock target for 5 seconds. 20 Air Darts fire at once using Co2. Payload Carrying and Drop Door Underneath Belly. I have already made this but I would like to have it so it automatically locks on to the nearest face and then I can choose to fire on my own, I just need it to lock on faces... can you help for a price???