I made a Program to Play Pac-Man with Ninjutsu...

Ойын-сауық

In this video, we will explore the exciting world of machine learning and Python to create a unique gaming experience using Naruto hand signs as controllers to play Pacman. The project uses a machine learning algorithm to recognize the hand signs of Naruto characters and convert them into controls for playing the classic game, Pacman. I will walk you through the entire process, from training the machine learning model to creating a custom interface to connect the hand signs to the game controls. If you are interested in learning about the exciting possibilities of machine learning and Python, and how it can be applied to gaming and other real-world applications, then this video is for you. - this was written by ChatGPT 💀
JOIN THE DISCORD!
💻 Discord: / discord
💻 Instagram: / im.ardens
💻 GitHub: github.com/myNameIsArdens

Пікірлер: 109

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

    How much limited edition blue crystal meth was consumed in the making of this video

  • @JustPyroYT

    @JustPyroYT

    Жыл бұрын

    *Y E S*

  • @aCreativeNamee

    @aCreativeNamee

    9 ай бұрын

    Not enough

  • @kianchristopher7704

    @kianchristopher7704

    5 ай бұрын

    less than average

  • @TylerTMG

    @TylerTMG

    28 күн бұрын

    ​@@aCreativeNameeas his dealer I agree

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

    Next video: "I played Flappy Bird with a nuclear briefcase"

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

    Please continue this "series". Its really cool! 👍

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

    This guy is underrated af 💀

  • @WextraYT

    @WextraYT

    Жыл бұрын

    fr

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

    apparently the problem is in what it detects when you trasition between hand positions, my suggestion is that you should have added a delay in detection when there is a change in the type of detection it gets, meaning : if detected-class-in-frame_t-1 != detected-class-in-frame_t: sleep(0.3) # enough time for you to switch position

  • @Ardens.

    @Ardens.

    Жыл бұрын

    I tried that actually!! That solution worked but it arose another problem. By delaying the frames, I also delay the input keys; meaning I could not control pacman with good speed. I tried finding a sweet spot for how long I should delay for but that had it's own problems.

  • @mtnyoucef

    @mtnyoucef

    Жыл бұрын

    @@Ardens. mhm i see, makes sense. Well anyway it is still a great project and great video GJ !

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Thank you so much! It's so cool to see others thinking what I was thinking. And also, thank you for watching!

  • @SunnyKimDev

    @SunnyKimDev

    Жыл бұрын

    maybe the simple solution here is just getting better at switching positions become the ninja Arden, ascend and join us in a higher level (of pacman)

  • @FuryJack07

    @FuryJack07

    Жыл бұрын

    ​@@Ardens. I have an idea. You teach the program to recognize when the image is blurry and then you make it ignore those frames. It shouldn't be THAT hard, right?

  • @michaelchen2821
    @michaelchen28219 ай бұрын

    ...Technically... To fix the in-between hand signs issue, what you really need to do is to take a bunch of photos of all the in-between hand sign positions and classify them as "in between". Then, your code should focus only on the real hand signs.

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

    Wake up babe, new Ardens vid just dropped!

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

    To fix the misinputs could you have only pressed the key if the certainty of the detection was above say 60%. I haven’t used tensorflow properly before but i assume there is a way to access that value.

  • @nicholasspring

    @nicholasspring

    11 ай бұрын

    That's what I was thinking!

  • @Muhammadusman-fb2dp
    @Muhammadusman-fb2dp Жыл бұрын

    Amazing video I enjoyed it keep up the videos coming

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

    No keyboard needed! Me: Then how did you write the code???

  • @unneccry2222

    @unneccry2222

    Жыл бұрын

    with hand signs

  • @Bruno-sg3wg

    @Bruno-sg3wg

    Жыл бұрын

    A magnetic needle and really steady hands

  • @IamPyu-v
    @IamPyu-v Жыл бұрын

    The long awaited video.

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

    amazing project keep up the good work

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Thanks, will do!

  • @axel3151

    @axel3151

    Жыл бұрын

    ​@@Ardens.you fr look like onevilage

  • @abubakkarsiddikbadhon29.47
    @abubakkarsiddikbadhon29.47 Жыл бұрын

    I was waiting for yoir video !

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

    This is amazing

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

    Finally a new video! I just love your videoes

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Glad you like them!

  • @AquaQuokka

    @AquaQuokka

    Жыл бұрын

    ​@@Ardens. Same bro!

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

    Ardens you are the Best keep going pls

  • @leiocera2433
    @leiocera243310 ай бұрын

    That's awesome, dattebayo!

  • @Blargnla
    @Blargnla9 ай бұрын

    I'd suggest the possibility of there being no output if the image detection of the input is below a certain percentage

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

    tetris with eye tracking

  • @CrazyLuke11
    @CrazyLuke115 ай бұрын

    You destroyed my Ears!!!

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

    Very cool

  • @Ardens.

    @Ardens.

    Жыл бұрын

    thanks!

  • @xevento8682
    @xevento86827 ай бұрын

    To fix the hand sign transition issues compare the images and add a difference threshold. If the difference between the current and last frame is very high, then your in-between hand positions, therefore the program shouldn't detect anything. If the difference is low, you're hands aren't moving and the program should start detecting. As for implementation, you could convert the image to grayscale with fixed resolution and then to a Numpy 2D vector and after every frame save the last frame in another variable. Then just subtract the two matrices and then take the mean of the difference matrix. That is your value to check. Now you just need to define a threshold, that when the mean of the difference matrix is low enough it checks for hand signs.

  • @Ardens.

    @Ardens.

    7 ай бұрын

    please check out this video: kzread.info/dash/bejne/l3aBydt8aduplag.html

  • @nobody-er6ys
    @nobody-er6ys Жыл бұрын

    When will you make some game dev projects?

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

    try tetris with this control scheme.

  • @walksanator
    @walksanator7 ай бұрын

    You shouls try pacman championship edition

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

    Hi could you make game tutorial especially for making horror survival games like slient hill and resident evil ❤

  • @fnasfanfnaffan6044
    @fnasfanfnaffan60445 ай бұрын

    in reality he's a puppet master and controlling the keys with chakra strands

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

    @Ardens What would you say are the top videos I need to watch in order to implement something similar to this. I was thinking about making a side scroller using Naruto hand symbols. How long did training take? Do you happen to have you code still? I am participating in a hackathon and would like to use it of course with credit to you

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Hi, thecloakedgamer, so the videos I watched that helped me with this project are from a KZreadr called "Nicholas Renotte." I credited him at 3:25. The first thing you need to do is install all the necessary dependencies. Watch his video titled "Install Tensorflow Object Detection From Scratch in 5 Steps | Python Deep Learning" to help with that. After that, you can watch his sign language detection and object detection videos and follow along. Training for me took about an hour to finish; it could take more or less time depending on how many steps you're training for and the speed of your GPU. I do still have the code for my project, but it's no different from the videos I'm pointing you to; I simply edit it a bit for this project. So I don't think I deserve any credit.

  • @thecloakedgamer2888

    @thecloakedgamer2888

    Жыл бұрын

    @@Ardens. Would you be willing to share the code privately? I have a short time span for the hackathon and would prefer to work on gameplay of the game rather than the AI code.

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Text me on Instagram. You can find it in my descriptions & on my KZread banner

  • @thecloakedgamer2888

    @thecloakedgamer2888

    Жыл бұрын

    @@Ardens. I made the same comment a couple times and it keeps not showing up. I can go on instagram. Is there another way?

  • @Ardens.

    @Ardens.

    Жыл бұрын

    I'm not telling you to comment anything. My Instagram account is available in this video's description. Just go to the link and send me a message.

  • @romenyesayan3855
    @romenyesayan385512 күн бұрын

    ardens ardens ardens

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

    Real

  • @user-hz2zr6qr2z
    @user-hz2zr6qr2z Жыл бұрын

    gg

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

    So just add a delay requiring a set amount of frames detecting the same handsign before sending the input then?

  • @Ardens.

    @Ardens.

    Жыл бұрын

    I should've mentioned that I tried that in the video. The problem with that is by delaying the frames, I would also delay the input keys. A key isn't pressed until a sign is detected. This means controlling pacman would be slow & I'd die quicker

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

    yo now let's play GTA with gang signs

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

    Next video: I played Among Us with my face.

  • @-hackers_industry
    @-hackers_industry Жыл бұрын

    VIDEO IDEA: "making a game in unreal engine with no experience(in 3 days)".

  • @Ardens.

    @Ardens.

    Жыл бұрын

    I'd do that video honestly, but unfortunately I don't have a desktop PC that can handle UE5 right now.

  • @-hackers_industry

    @-hackers_industry

    Жыл бұрын

    @@Ardens. Something i can relate to. xd

  • @-hackers_industry

    @-hackers_industry

    Жыл бұрын

    @@Ardens.Something i can relate to... xd

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

    now play dark souls using naruto hand signs :trollface:

  • @Ardens.
    @Ardens. Жыл бұрын

    Why is he called Pac-Man? Do he be packing?

  • @starrymohannad

    @starrymohannad

    Жыл бұрын

    it called Pac-Man so a group of nerds can name the package manager for their linux distro after it 20 years later I use arch btw

  • @QuinceTart10

    @QuinceTart10

    Жыл бұрын

    @@starrymohannad true I use Arch, btw

  • @AquaQuokka

    @AquaQuokka

    Жыл бұрын

    I use Debian I do not use Arch, btw

  • @QuinceTart10

    @QuinceTart10

    Жыл бұрын

    @@AquaQuokka If you never used (I suppose, can't see in your mind) Arch, then you don't get the joke. In Arch Linux there is a package manager called "pacman". I use Arch, btw

  • @AquaQuokka

    @AquaQuokka

    Жыл бұрын

    @@QuinceTart10 No, I know there is.

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

    Does anyone know what code this program uses?

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

    Yooooooo

  • @JSiuDev
    @JSiuDev10 ай бұрын

    If naruto school use this system ....🤣

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

    You should make mario with fortnite dances

  • @Ardens.

    @Ardens.

    Жыл бұрын

    lmaooo

  • @IamPyu-v
    @IamPyu-v Жыл бұрын

    i clicked that

  • @uzmaasif128
    @uzmaasif1287 ай бұрын

    Arens arens arens

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

    Play fnf based on head movement !

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

    good luck trying to keep playing after you summon a big ass frog and crush your house

  • @Ardens.

    @Ardens.

    Жыл бұрын

    😂😂

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

    bro suggest me a programming language to learn besides python and JS

  • @Ardens.

    @Ardens.

    Жыл бұрын

    Languages are just tools to be used in a way that is best suited for what you're doing, but since you asked, here: Lua, a C language and Rust.

  • @AquaQuokka

    @AquaQuokka

    Жыл бұрын

    C#, Rust, Elixir, V, Clojure, Kotlin, Java

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

    Next Gta 😂

  • @shreder95ua
    @shreder95ua10 ай бұрын

    hell nah, my brother anime fanboy will send you 1000 dollars for this

  • @guillermoleon0216
    @guillermoleon02169 ай бұрын

    Man you gave me such a bad idea

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

    Hi

  • @Ardens.

    @Ardens.

    Жыл бұрын

    hey

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

    :troll:

  • @christianemazzola5863
    @christianemazzola586310 ай бұрын

    I died because the hands are faulty

  • @letter_o_hyphen_letter_o
    @letter_o_hyphen_letter_o7 ай бұрын

    NO FUCKING WAY PAC MAN JUTSU

  • @abubakkarsiddikbadhon29.47
    @abubakkarsiddikbadhon29.47 Жыл бұрын

    Hi , how are you ??????

  • @Ardens.

    @Ardens.

    Жыл бұрын

    im good :) thank u for asking

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

    🌟 Promo*SM

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

    ALL NARUTO FANS IN THE COMMENTS STAND UUUP!!!

  • @Ardens.

    @Ardens.

    Жыл бұрын

    🥷🥷🥷

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

    last!

  • @doctorg3676

    @doctorg3676

    Жыл бұрын

    FIRST!

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

    101th

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

    Now play Getting Over It by making sounds from your mouth

  • @Ardens.

    @Ardens.

    Жыл бұрын

    😨

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

    you look like onevilage

  • @the-MaZe
    @the-MaZe10 ай бұрын

    Please less ear-rape, otherwise I like your videos.

Келесі