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
How much limited edition blue crystal meth was consumed in the making of this video
@JustPyroYT
Жыл бұрын
*Y E S*
@aCreativeNamee
9 ай бұрын
Not enough
@kianchristopher7704
5 ай бұрын
less than average
@TylerTMG
28 күн бұрын
@@aCreativeNameeas his dealer I agree
Next video: "I played Flappy Bird with a nuclear briefcase"
Please continue this "series". Its really cool! 👍
This guy is underrated af 💀
@WextraYT
Жыл бұрын
fr
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.
Жыл бұрын
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
Жыл бұрын
@@Ardens. mhm i see, makes sense. Well anyway it is still a great project and great video GJ !
@Ardens.
Жыл бұрын
Thank you so much! It's so cool to see others thinking what I was thinking. And also, thank you for watching!
@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
Жыл бұрын
@@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?
...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.
Wake up babe, new Ardens vid just dropped!
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
11 ай бұрын
That's what I was thinking!
Amazing video I enjoyed it keep up the videos coming
No keyboard needed! Me: Then how did you write the code???
@unneccry2222
Жыл бұрын
with hand signs
@Bruno-sg3wg
Жыл бұрын
A magnetic needle and really steady hands
The long awaited video.
amazing project keep up the good work
@Ardens.
Жыл бұрын
Thanks, will do!
@axel3151
Жыл бұрын
@@Ardens.you fr look like onevilage
I was waiting for yoir video !
This is amazing
Finally a new video! I just love your videoes
@Ardens.
Жыл бұрын
Glad you like them!
@AquaQuokka
Жыл бұрын
@@Ardens. Same bro!
Ardens you are the Best keep going pls
That's awesome, dattebayo!
I'd suggest the possibility of there being no output if the image detection of the input is below a certain percentage
tetris with eye tracking
You destroyed my Ears!!!
Very cool
@Ardens.
Жыл бұрын
thanks!
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.
7 ай бұрын
please check out this video: kzread.info/dash/bejne/l3aBydt8aduplag.html
When will you make some game dev projects?
try tetris with this control scheme.
You shouls try pacman championship edition
Hi could you make game tutorial especially for making horror survival games like slient hill and resident evil ❤
in reality he's a puppet master and controlling the keys with chakra strands
@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.
Жыл бұрын
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
Жыл бұрын
@@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.
Жыл бұрын
Text me on Instagram. You can find it in my descriptions & on my KZread banner
@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.
Жыл бұрын
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.
ardens ardens ardens
Real
gg
So just add a delay requiring a set amount of frames detecting the same handsign before sending the input then?
@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
yo now let's play GTA with gang signs
Next video: I played Among Us with my face.
VIDEO IDEA: "making a game in unreal engine with no experience(in 3 days)".
@Ardens.
Жыл бұрын
I'd do that video honestly, but unfortunately I don't have a desktop PC that can handle UE5 right now.
@-hackers_industry
Жыл бұрын
@@Ardens. Something i can relate to. xd
@-hackers_industry
Жыл бұрын
@@Ardens.Something i can relate to... xd
now play dark souls using naruto hand signs :trollface:
Why is he called Pac-Man? Do he be packing?
@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
Жыл бұрын
@@starrymohannad true I use Arch, btw
@AquaQuokka
Жыл бұрын
I use Debian I do not use Arch, btw
@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
Жыл бұрын
@@QuinceTart10 No, I know there is.
Does anyone know what code this program uses?
Yooooooo
If naruto school use this system ....🤣
You should make mario with fortnite dances
@Ardens.
Жыл бұрын
lmaooo
i clicked that
Arens arens arens
Play fnf based on head movement !
good luck trying to keep playing after you summon a big ass frog and crush your house
@Ardens.
Жыл бұрын
😂😂
bro suggest me a programming language to learn besides python and JS
@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
Жыл бұрын
C#, Rust, Elixir, V, Clojure, Kotlin, Java
Next Gta 😂
hell nah, my brother anime fanboy will send you 1000 dollars for this
Man you gave me such a bad idea
Hi
@Ardens.
Жыл бұрын
hey
:troll:
I died because the hands are faulty
NO FUCKING WAY PAC MAN JUTSU
Hi , how are you ??????
@Ardens.
Жыл бұрын
im good :) thank u for asking
🌟 Promo*SM
ALL NARUTO FANS IN THE COMMENTS STAND UUUP!!!
@Ardens.
Жыл бұрын
🥷🥷🥷
last!
@doctorg3676
Жыл бұрын
FIRST!
101th
Now play Getting Over It by making sounds from your mouth
@Ardens.
Жыл бұрын
😨
you look like onevilage
Please less ear-rape, otherwise I like your videos.