Face Tracking Nerf Turret Project (Inspired by Michael Reeves)

Поділитися
Вставка
  • Опубліковано 6 лют 2020
  • 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
    @afriendlywizardwholikescol4312 4 роки тому +144

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

    • @sneezingenjoyer6608
      @sneezingenjoyer6608 3 роки тому +11

      Thats Michael alright. That's Michael

    • @36nibs
      @36nibs 2 роки тому +1

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

  • @PuerinTheHunter
    @PuerinTheHunter 4 роки тому +7

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

  • @erichu30
    @erichu30 4 роки тому +8

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

  • @snazzyengineering
    @snazzyengineering 3 роки тому +6

    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!

  • @dookieblaster7
    @dookieblaster7 4 роки тому +33

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

  • @cathal8835
    @cathal8835 4 роки тому +50

    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 роки тому +5

      You mean a magazine

    • @Sciencish
      @Sciencish  3 роки тому +7

      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

  • @dericmoore7341
    @dericmoore7341 3 роки тому +2

    Very cool man. Good job.

  • @gerhard_adler
    @gerhard_adler 4 роки тому +2

    This is super cool!

  • @julianlandwehr4420
    @julianlandwehr4420 4 роки тому +16

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

  • @soufiboy8979
    @soufiboy8979 4 роки тому +4

    cool project im gonna try it on my friends defently

  • @vlogginggabes3864
    @vlogginggabes3864 4 роки тому +7

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

  • @finnk9635
    @finnk9635 3 роки тому +1

    super cool video!

  • @bradleyfountaine
    @bradleyfountaine Рік тому

    this was a fantastic ride

  • @JoeGator23
    @JoeGator23 3 роки тому +4

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

  • @woolfy02
    @woolfy02 Рік тому +1

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

  • @harrisonwells2272
    @harrisonwells2272 2 роки тому +1

    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?

  • @st3ady
    @st3ady 4 роки тому +2

    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
    @THEMIAINBORD 4 місяці тому +1

    it is amazing im going to try to build it

  • @Suitednzooted11
    @Suitednzooted11 8 місяців тому

    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.

  • @MichaelMacGyver
    @MichaelMacGyver 3 роки тому +1

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

  • @lukasmakessomething7322
    @lukasmakessomething7322 3 роки тому +1

    Nice job man

  • @user-oj3gb8nh2q
    @user-oj3gb8nh2q 4 роки тому

    Sweet. Well done.

  •  2 роки тому +1

    You made my day man!
    Hahahahhahha thanks

  • @ottaro_pog
    @ottaro_pog 4 роки тому

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

  • @yonTlevin
    @yonTlevin 3 роки тому

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

  • @markopolo2224
    @markopolo2224 2 роки тому +1

    cool ass project

  • @DayoMichael.A
    @DayoMichael.A 11 місяців тому

    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

  • @andrivandermerwe6786
    @andrivandermerwe6786 2 роки тому +1

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

  • @willthethrill521
    @willthethrill521 3 роки тому +1

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

  • @PhysicsViolator
    @PhysicsViolator 2 роки тому +1

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

  • @zfarahx
    @zfarahx 4 роки тому

    Oh yeah!

  • @joaco9887
    @joaco9887 3 роки тому

    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 роки тому +1

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

  • @marcostrauss09
    @marcostrauss09 3 роки тому +1

    Question, how did you convert the coordinates into angles?

  • @CORoys
    @CORoys 5 місяців тому

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

  • @PyccoloSantos
    @PyccoloSantos 2 роки тому

    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.

  • @juliankeksel7812
    @juliankeksel7812 4 роки тому +6

    This Channel is way too underrated!

  • @36nibs
    @36nibs 2 роки тому

    Are Michael Reeves inspired videos a youtube category now

  • @f1alpaca
    @f1alpaca 4 роки тому

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

  • @Jirayu.Kaewprateep
    @Jirayu.Kaewprateep Рік тому

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

  • @dr00lkidd31
    @dr00lkidd31 2 роки тому

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

  • @AdityaSingh-hx1tv
    @AdityaSingh-hx1tv 2 роки тому

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

  • @NamasenITN
    @NamasenITN 9 місяців тому

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

  • @tcdoe
    @tcdoe 4 роки тому

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

  • @stephenpranadaii2344
    @stephenpranadaii2344 3 місяці тому

    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?

  • @fritz6919
    @fritz6919 Рік тому

    He did a thing
    (iykyk)

  • @dyna1986
    @dyna1986 3 роки тому

    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

  • @shridhartiwari2303
    @shridhartiwari2303 4 роки тому +3

    hey great work can u please make a tutorial for this

    • @Sciencish
      @Sciencish  3 роки тому

      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: ua-cam.com/video/HgMQTvDcn_s/v-deo.html

  • @elian0213
    @elian0213 4 роки тому +1

    Hello micheal reeves

  • @johnny-smith
    @johnny-smith 4 роки тому

    nice

  • @crizzishellhouse601
    @crizzishellhouse601 3 роки тому +1

    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
    @kennethdoherty1547 2 роки тому

    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  2 роки тому

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

  • @babyyoda1091
    @babyyoda1091 Рік тому

    where did you upload the python code to

  • @abdullahafzal9
    @abdullahafzal9 Рік тому +1

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

  • @okaytree7711
    @okaytree7711 2 роки тому

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

  • @tinfoilhatsarethenewblack8788
    @tinfoilhatsarethenewblack8788 2 роки тому

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

  • @jackdengler2230
    @jackdengler2230 4 роки тому +1

    I am here from recommended and I am satisfied

  • @cheungpaul9483
    @cheungpaul9483 2 роки тому

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

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

  • @TrenBlack
    @TrenBlack 4 роки тому +1

    Lmao

  • @anishpatil3902
    @anishpatil3902 2 роки тому

    can you share the code?

  • @jayachandra677
    @jayachandra677 4 роки тому

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

  • @kylesaric3652
    @kylesaric3652 3 роки тому

    Where is the code?

  • @whazup25
    @whazup25 4 роки тому +1

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

    • @utsavchaudhary4915
      @utsavchaudhary4915 4 роки тому +1

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

  • @Vespira21
    @Vespira21 4 роки тому +2

    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.

  • @paulbizard3493
    @paulbizard3493 3 роки тому

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

  • @MattieCooper10000
    @MattieCooper10000 4 роки тому +1

    I''m learning Nim!😃🙃

  • @appa609
    @appa609 3 роки тому

    lol I did this less well in high school

  • @deeeeeds
    @deeeeeds 3 роки тому +1

    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 роки тому +1

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

  • @alexanderdefuria3779
    @alexanderdefuria3779 4 роки тому +3

    Hi from reddit

  • @anmol4484
    @anmol4484 3 роки тому

    FBI wants to know ur location

  • @itsCN
    @itsCN 3 роки тому +2

    What did Nicholas cage do to you lmao

    • @Sciencish
      @Sciencish  3 роки тому +2

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

    • @itsCN
      @itsCN 3 роки тому +2

      @@Sciencish that true lmao

  • @lukemagdalin6169
    @lukemagdalin6169 4 роки тому

    This is basically micheal Reeves but less funny and family friendly

  • @johnbleakley9699
    @johnbleakley9699 4 роки тому

    Bruh this is literally the offbrand micheal reeves

  • @nighthubfivem
    @nighthubfivem 3 роки тому +1

    Esp Real life and aimbot