Face Tracking Nerf Turret Project (Inspired by Michael Reeves)

Ойын-сауық

Thanks again to Michael Reeves for inspiring me to start to learn to code! Videos like the ones linked below made it seem like learning to code was less of a big thing. With that, I am very new at this, those of you who look at my code in the video, feel free to tell my how bad it is and/or make suggestions to improve it.
Michael's Videos:
Robot that shines a laser in your eye: • The Robot That Shines ...
This made coding seem more approachable to me: • Hacking Drones With a ...
Things included in this project:
Servos: www.amazon.com/gp/product/B07...
Arduino: store.arduino.cc/usa/arduino-...
Python 3.7 (3.8 does not work with OpenCV right now): www.python.org/downloads/rele...
STL files for the Turret: www.thingiverse.com/thing:415...
Python videos:
general stuff: • Learn Python - Full Co...
OpenCV: • Haar Cascade Object De...

Пікірлер: 95

  • @afriendlywizardwholikescol4312
    @afriendlywizardwholikescol43124 жыл бұрын

    I love how he is inspired by the 4 year old acne child crack man thing

  • @sneezingenjoyer6608

    @sneezingenjoyer6608

    4 жыл бұрын

    Thats Michael alright. That's Michael

  • @36nibs

    @36nibs

    3 жыл бұрын

    Acne crack man thing 🤣🤣🤣 nightmare nightmare nightmare ‼️

  • @snazzyengineering
    @snazzyengineering3 жыл бұрын

    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!

  • @PuerinTheHunter
    @PuerinTheHunter4 жыл бұрын

    It is cool how it chose the biggest target among those 4 dudes.

  • @dericmoore7341
    @dericmoore73414 жыл бұрын

    Very cool man. Good job.

  • @gerhard_adler
    @gerhard_adler4 жыл бұрын

    This is super cool!

  • @dookieblaster7
    @dookieblaster74 жыл бұрын

    Can you make a video on the code for this please, love the vid!

  • @treywitter6487

    @treywitter6487

    3 жыл бұрын

    agreed!

  • @cathal8835
    @cathal88354 жыл бұрын

    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.

  • @iunironicallyplaycallofdut7632

    @iunironicallyplaycallofdut7632

    3 жыл бұрын

    You mean a magazine

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    I have to stop myself from saying that every time I play FPS games with friends, otherwise I’d be playing FPS games alone haha

  • @erichu30
    @erichu304 жыл бұрын

    It's quite a fun way to train one's reaction capability, ha

  • @vlogginggabes3864
    @vlogginggabes38644 жыл бұрын

    Reading the description made total sense because REEEEEEEEEEEVES also hi from reddit

  • @finnk9635
    @finnk96353 жыл бұрын

    super cool video!

  • @soufiboy8979
    @soufiboy89794 жыл бұрын

    cool project im gonna try it on my friends defently

  • @JoeGator23
    @JoeGator233 жыл бұрын

    How about a how-to video on how to program this stuff? Really cool concept that no one is teaching on KZread. Cool!

  • @bradleyfountaine
    @bradleyfountaine Жыл бұрын

    this was a fantastic ride

  • @julianlandwehr4420
    @julianlandwehr44204 жыл бұрын

    Awesome project! Maybe try putting some explosives in those nerf darts?

  • @josphe9011

    @josphe9011

    3 жыл бұрын

    I like thermite and some other things I can't say

  • @winglessraccoon

    @winglessraccoon

    3 жыл бұрын

    I'll get you Covered

  • @veryamazingandcreativename

    @veryamazingandcreativename

    3 жыл бұрын

    This is inspired by Micheal Reeves, not William Osman lol

  • @user-oj3gb8nh2q
    @user-oj3gb8nh2q4 жыл бұрын

    Sweet. Well done.

  • @woolfy02
    @woolfy02 Жыл бұрын

    Awesome project! I've always wondered how much faster, it can get with tracking. And somehow be more stabilized. Stepper motor, maybe? idk.

  • @lukasmakessomething7322
    @lukasmakessomething73223 жыл бұрын

    Nice job man

  • @st3ady
    @st3ady4 жыл бұрын

    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!

  • @THEMIAINBORD
    @THEMIAINBORD6 ай бұрын

    it is amazing im going to try to build it

  • @Suitednzooted11
    @Suitednzooted1110 ай бұрын

    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.

  • @ottaro_pog
    @ottaro_pog4 жыл бұрын

    I love it! maybe add a laser to it.... just for decoration

  • @harrisonwells2272
    @harrisonwells22723 жыл бұрын

    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?

  • @MichaelMacGyver
    @MichaelMacGyver3 жыл бұрын

    I'm leaving a comment to interact and show my support of the channel.

  • @yonTlevin
    @yonTlevin3 жыл бұрын

    Awesome video!! Can you make a video about the code and how it works

  • 2 жыл бұрын

    You made my day man! Hahahahhahha thanks

  • @markopolo2224
    @markopolo22242 жыл бұрын

    cool ass project

  • @PhysicsViolator
    @PhysicsViolator3 жыл бұрын

    Imagine you program this thing to fire at someone smiling / laughing straight in the mouth bring ur friends and tell a few jokes

  • @zfarahx
    @zfarahx4 жыл бұрын

    Oh yeah!

  • @DayoMichael.A
    @DayoMichael.A Жыл бұрын

    Hello… great content Could you give link to code on how to convert the coordinates of the bbox into angles for the pan and tilt mechanism

  • @f1alpaca
    @f1alpaca4 жыл бұрын

    I want to do something exactly like this using a robotic arm

  • @andrivandermerwe6786
    @andrivandermerwe67862 жыл бұрын

    Hi, im really interested in your project! How did you link the python code to the arduino? Well done

  • @willthethrill521
    @willthethrill5213 жыл бұрын

    How did you connect the webcam to the Arduino??? perhaps a potential video? :D

  • @marcostrauss09
    @marcostrauss093 жыл бұрын

    Question, how did you convert the coordinates into angles?

  • @CORoys
    @CORoys7 ай бұрын

    Great video.. Have you posted the code anywhere? I'd love to see it.

  • @PyccoloSantos
    @PyccoloSantos2 жыл бұрын

    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.

  • @johnny-smith
    @johnny-smith4 жыл бұрын

    nice

  • @elian0213
    @elian02134 жыл бұрын

    Hello micheal reeves

  • @dr00lkidd31
    @dr00lkidd312 жыл бұрын

    how you make it like if you are there it doesnt do anything but if someone else is it does?

  • @36nibs
    @36nibs3 жыл бұрын

    Are Michael Reeves inspired videos a youtube category now

  • @AdityaSingh-hx1tv
    @AdityaSingh-hx1tv2 жыл бұрын

    hey can u pls explain what are the values 117.9 and 75 in the python script while changing coordinates to pitch and yaw ??????

  • @tcdoe
    @tcdoe4 жыл бұрын

    Super! Maybe I missed it, but is the code available somewhere? Thx.

  • @NamasenITN
    @NamasenITN10 ай бұрын

    How did you calibrate the system between camera coordinates and servos?

  • @fritz6919
    @fritz6919 Жыл бұрын

    He did a thing (iykyk)

  • @dyna1986
    @dyna19863 жыл бұрын

    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

  • @Jirayu.Kaewprateep
    @Jirayu.Kaewprateep Жыл бұрын

    That is a nice project but why you had to attached some camera at the picture ⁉

  • @joaco9887
    @joaco98873 жыл бұрын

    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

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    The Arduino ran the servos and solenoid, my laptop ran OpenCV and sent the data to the Arduino so it could aim

  • @stephenpranadaii2344
    @stephenpranadaii23445 ай бұрын

    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?

  • @shridhartiwari2303
    @shridhartiwari23034 жыл бұрын

    hey great work can u please make a tutorial for this

  • @Sciencish

    @Sciencish

    4 жыл бұрын

    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: kzread.info/dash/bejne/epuBs7avdMbUj9Y.html

  • @okaytree7711
    @okaytree77112 жыл бұрын

    Whoa, I thought he would have another sensor that works with Arduino, but he just used his webcam and OpenCV (whatever that is)...

  • @abdullahafzal9
    @abdullahafzal9 Жыл бұрын

    can you provide the code of it......plz plz plz

  • @babyyoda1091
    @babyyoda1091 Жыл бұрын

    where did you upload the python code to

  • @juliankeksel7812
    @juliankeksel78124 жыл бұрын

    This Channel is way too underrated!

  • @anishpatil3902
    @anishpatil39022 жыл бұрын

    can you share the code?

  • @jackdengler2230
    @jackdengler22304 жыл бұрын

    I am here from recommended and I am satisfied

  • @cheungpaul9483
    @cheungpaul94832 жыл бұрын

    I like to learn the coding of your face tracking nerf turret, could you please send me the link or send me the file ?

  • @crizzishellhouse601
    @crizzishellhouse6013 жыл бұрын

    just a question, how did you link the python open cv project with arduino

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    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

  • @kennethdoherty1547
    @kennethdoherty15473 жыл бұрын

    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?

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    On the newer ones ya! The only one I had was to old to even run OpenCV let alone run it well

  • @kylesaric3652
    @kylesaric36523 жыл бұрын

    Where is the code?

  • @abdullahafzal9
    @abdullahafzal9 Жыл бұрын

    i wana bilud this....i know if i start coding it i will fed up in few hours and will loose motivation plzzzzzzzzzzzzzzz...........plzzz

  • @jayachandra677
    @jayachandra6774 жыл бұрын

    Writing the openCV code using Java would decrease the response time of the turret. It will be faster than python

  • @uncreativename5736

    @uncreativename5736

    2 жыл бұрын

    what about our old friend, *C++?*

  • @tinfoilhatsarethenewblack8788
    @tinfoilhatsarethenewblack87882 жыл бұрын

    Great video, but why does your room look like a motel room

  • @TrenBlack
    @TrenBlack4 жыл бұрын

    Lmao

  • @MattieCooper10000
    @MattieCooper100004 жыл бұрын

    I''m learning Nim!😃🙃

  • @Vespira21
    @Vespira214 жыл бұрын

    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.

  • @gulp630

    @gulp630

    3 жыл бұрын

    ok

  • @appa609
    @appa6093 жыл бұрын

    lol I did this less well in high school

  • @whazup25
    @whazup254 жыл бұрын

    Is it me or does he look like Andy from Toy Story?

  • @utsavchaudhary4915

    @utsavchaudhary4915

    4 жыл бұрын

    LOL, he does.... I noticed it after reading your comment. But it's true.....

  • @paulbizard3493
    @paulbizard34933 жыл бұрын

    Wow what a bunch or nerds, just like me when I was young. :)

  • @alexanderdefuria3779
    @alexanderdefuria37794 жыл бұрын

    Hi from reddit

  • @deeeeeds
    @deeeeeds3 жыл бұрын

    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?

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    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

  • @deeeeeds

    @deeeeeds

    3 жыл бұрын

    @@Sciencish Y'know, I just realized that there isn't even a raspberry pi in this video. I have no idea why I thought there was.

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    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

  • @adamthachamp245

    @adamthachamp245

    3 жыл бұрын

    @@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???

  • @anmol4484
    @anmol44844 жыл бұрын

    FBI wants to know ur location

  • @johnbleakley9699
    @johnbleakley96994 жыл бұрын

    Bruh this is literally the offbrand micheal reeves

  • @itsCN
    @itsCN3 жыл бұрын

    What did Nicholas cage do to you lmao

  • @Sciencish

    @Sciencish

    3 жыл бұрын

    Oh I actually really like his movies, but he’s also a great meme haha

  • @itsCN

    @itsCN

    3 жыл бұрын

    @@Sciencish that true lmao

  • @lukemagdalin6169
    @lukemagdalin61694 жыл бұрын

    This is basically micheal Reeves but less funny and family friendly

  • @nighthubfivem
    @nighthubfivem3 жыл бұрын

    Esp Real life and aimbot

Келесі