Тёмный

Using Image Recognition to find Mario 

CodeNoodles
Подписаться 78 тыс.
Просмотров 1,9 млн
50% 1

Can a Python script find Mario using image recognition?
In this video I write a Python program to try to automatically find and click on Mario in the mini game Wanted. The program uses basic image recognition to locate textures, and it manages to be extremely effective. If you like the video, make sure to subscribe!
LINKS
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Support the channel: ko-fi.com/codenoodles
Itch.io: codenoodles.itch.io/
GitHub: github.com/OfficialCodeNoodles
█▀ █ █ █▄▄ █▀ █▀▀ █▀█ █ █▄▄ █▀▀
▄█ █▄█ █▄█ ▄█ █▄▄ █▀▄ █ █▄█ ██▄

Наука

Опубликовано:

 

22 окт 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,6 тыс.   
@1BlueYoshi
@1BlueYoshi Год назад
It seems like towards the end the problem wasn't with recognition but with the touching part. Moving icons seem to be hard for it. It clicks where they are rather than where they are going to be, which means that sometimes it can miss the icon. I mean at least that's what it looks like to me. I have literally 0 programming knowledge so I could be completely wrong lol
@iCraftDay
@iCraftDay Год назад
U right
@genericfakename4372
@genericfakename4372 Год назад
Nah, spot on here. This kind of image recognition, especially using small snippets on a big view, can take a good amount of time (in computer terms). So in the time between it took the screenshot and clicks, the image has changed without the program knowing. Could theoretically solve that by having it perform the whole process twice, and extrapolating to where it should actually click, but that would be immensely difficult, especially once you account for the case of it going off screen (and thus coming out on the opposite side). And even then, you might get false results when you have it not moving in a straight line, like all the levels where they move in a sinusoidal pattern. Which would in turn be even more obscenely hard to code around
@zewzit
@zewzit Год назад
@@genericfakename4372 and adding to that, even if it 100% predicted where the right one was gonna be, there is a huge chance that in that position it would be covered by another icon. I would have to keep following the path and predict a position where no other icon would clash... ouch ... kinda awesome that our brains can just do that automatically and we just take it for granted
@zonebro6205
@zonebro6205 Год назад
@@zewzit True
@gemhunter498
@gemhunter498 Год назад
I think that also, it might be clicking on where the center of the icon would be, if it wasnt covered by other icons. Instead it should click on a random sub-tile that matches 100%, or the sub-tile that matches the closest.
@zdelrod829
@zdelrod829 Год назад
The NSMB minigames were probably majority of people's childhood. I honestly want to see someone push this idea to the game's limits
@DanHallow
@DanHallow Год назад
And sm64DS
@AlryFireBlade
@AlryFireBlade Год назад
Nah for me it was SM64DS. I didn't knew that these Minigames are in another game too until I was 22 or so (A few years ago)
@Boltthe410
@Boltthe410 Год назад
@@AlryFireBlade same!
@ugonnankwonta6472
@ugonnankwonta6472 Год назад
SM64DS came out 1st and had a lot more minigames than NSMB.
@Boltthe410
@Boltthe410 Год назад
@@ugonnankwonta6472 exactly! It deserves more recognition.
@nicktalksnonsense9869
@nicktalksnonsense9869 Год назад
It is odd how nostalgic this is. I strangely remember this mini game extraordinarily vividly.
@MMX974
@MMX974 9 месяцев назад
Bro just casually hacking 💀
@WarioWill
@WarioWill Год назад
It would be fun to see this same concept used in the bob-omb sorting minigame. Nice vid. Very good. 10/10 would subscribe again.
@testoftimegaming5219
@testoftimegaming5219 Год назад
wouldbt they fail as its using scren shots to fund them so it only works wheb everythibg stays still
@maxwellthesillycat
@maxwellthesillycat Год назад
@Test Of Time Gaming bro, what you saying
@subg9165
@subg9165 Год назад
@@maxwellthesillycat damn i guess four or five typos makes something incomprehensible three of them are even the same type of typo
@CrashFan03
@CrashFan03 Год назад
@@testoftimegaming5219 i mean this minigame also uses moving icons and it seems to be relatively fine with them here
@marcalcantara1174
@marcalcantara1174 Год назад
@@testoftimegaming5219 well I don't know actual coding but I feel like a polished "if pink on X,Y coordinates (that don't include the goal area) is detected, click then drag to x,y coordinates (that correspond to the goal)" and then same with gray I guess(?)
@theenchantedgoldenapplekin7979
[Spoiler] that AI had many close calls, the fact that it made it passed 100 is very impressive
@FiereTheCatBoy
@FiereTheCatBoy Год назад
Oh. You think 100 is a lot? On sm64 ds I got over 2000 once
@Redinho1
@Redinho1 Год назад
@@FiereTheCatBoy Man, we’re talking about a fuldging AI
@dreamtraveler6135
@dreamtraveler6135 Год назад
@@Redinho1 Hunter is a computer speaking to us
@FiereTheCatBoy
@FiereTheCatBoy Год назад
@Redino I can count at least 100 times this ai messed up. I only messed up once in a group of 50 levels or so. The only reason I didn't keep going was I played so long my ds died. Also I was bored as hell
@dreamtraveler6135
@dreamtraveler6135 Год назад
@@FiereTheCatBoy That's what a computer would say
@voidpunch1324
@voidpunch1324 Год назад
As a barely ok programmer, i just wanted to say your projects are exactly the type of problems i wanted to solve if i had more skill, you inspire me. Currently recovering from a prp shot on my arm, so this video helped me in this difficult time. Oh and your avatar is cool, cheers.
@BakaTaco
@BakaTaco Год назад
Best of luck with programming, and I hope your arm recovers quickly. Take care!
@voidpunch1324
@voidpunch1324 Год назад
@@BakaTaco Thank you! 😁
@jackhawkins7285
@jackhawkins7285 Год назад
This video gave me much needed inspiration for my final year project in my Computer Science degree at university. I was already looking into doing something around image recognition but didn’t know if it was viable. Thank you
@thisguy.-.
@thisguy.-. Год назад
I love how the ai isn't perfect and makes mistakes instead of nailing it every time, it's soo much more entertaining that way Edit: It isn't AI goddammit, read the replies before telling it to me for the millionth time please. Edit 2: okay fine it might as well be AI, only not machine learning. Okay? So unless you have something else to say please stop.
@BusterBrown1217
@BusterBrown1217 Год назад
Mainly because it is too slow to click it on time, not an issue of finding it
@maker0824
@maker0824 Год назад
I personally just think it is an excuse to not have to work on it until it's good. or maybe I'm just a perfectionist
@thisguy.-.
@thisguy.-. Год назад
I didn't mean as in its better for it, only more entertaining which in the bots case is its main purpose. I don't think he's trying to build a bot that has purpose of playing the game efficiently for research, more make it do something novel to make a video about. Thus it works perfectly since the goal is not to be perfect but to work for the novelty of a bot that can play this game Also when I refer to it making a mistake I don't mean not clicking instantly, I mean actual mistakes of clicking the incorrect icon.
@thechugg4372
@thechugg4372 Год назад
That's the entire point of machine learning though.....
@thisguy.-.
@thisguy.-. Год назад
@@thechugg4372 he wasn't using machine learning. Tbh idk if using terms like AI are correct but in reality it doesn't matter that much
@sauci.8389
@sauci.8389 Год назад
dude this is already in the first 20 seconds a nostalgia punch in the face nose break for me, new super mario bros minigames were my life
@leviathanthetallone8299
@leviathanthetallone8299 Год назад
They where also in mario 64 ds
@amog8202
@amog8202 Год назад
Yeahhhh. I remember just vibing in Luigis casino all damn evening
@beans3669
@beans3669 Год назад
@@jimmyjohnjoejr he wasn’t asking for somebody to give him a way of playing the game. If he played it, I’m pretty sure he’s got the ds to play it again somewhere
@jimmyjohnjoejr
@jimmyjohnjoejr Год назад
@@beans3669 🤓
@Spectre2409
@Spectre2409 Год назад
Daaaamn, I remember destroying my little brother in the bob-omb tennis minigame, it was so much fun!!
@travis-n-joy
@travis-n-joy Год назад
Seems like you could double the accuracy by programming it so that it looks for Red on Mario and Yellow on Wario. Since those colors are unique to that character, you could basically ensure that those 2 characters are never missed. It wouldn't have to match tiles at all. Once it detects the color, that's where the character is located. That would just leave Luigi and Yoshi to the rest of your code. Since virtually no time would ever be lost and only added for Mario and Wario, I can't imagine that the script would ever run out of time.
@pushyrummble8625
@pushyrummble8625 9 месяцев назад
You would lose since a lot of the time their hats are completely covered and you can only see their face so you need to match other parts of their face.
@RS-rz4ll
@RS-rz4ll 7 месяцев назад
Maybe one could add the colour purple for Wario's nose.
@BigOlSmellyFlashlight
@BigOlSmellyFlashlight 3 месяца назад
well also their chins (when cut off) and mustaches (when theyre covered)
@jestersmith9349
@jestersmith9349 Год назад
That is so cool!!! I love your tenacity very much. It makes me giddy to see you keep pushing through even when faced with a new problem! I love watching people show off what they do with coding, it really is technological magic to me! Thank you for sharing!!
@SuperDZ555
@SuperDZ555 Год назад
Ok but can we get an AI that can learn to manipulate RNG and beat Luigi at poker Edit: yes i have watched the video about toad manipulating the cards its just that i posted this comment before that existed
@jimmypatton4982
@jimmypatton4982 Год назад
Probably, doubt they used a hard RNG generator. Might just have to use the time converted by same RNG generator that they used, or something similar. (Totally not human like, but who is counting, when using super processing to play match the face)
@Winasaurus
@Winasaurus Год назад
You don't need to manipulate the RNG, the odds are in your favor as the player anyway.
@BakaTaco
@BakaTaco Год назад
Don't tell RTGames about that possibility.
@Thomas_wur
@Thomas_wur Год назад
I have 8000 coins on that minigame…
@thesergius2295
@thesergius2295 Год назад
Someone ready did It without AI believe It or not, toad , YES, THAT TOAD WITH THE DRINKS is the culprit of It all, look for beating Luigi poker using toad or something like that
@MinergamesWasTaken
@MinergamesWasTaken Год назад
I remember specifically that I managed to get to Level 256 on this game. It was when I was younger, so younger me thought, "yeah, time to stop here". I still do not know how I managed to get that high of a score. Younger me, you are an absolute gamer.
@akisalmenaho8473
@akisalmenaho8473 Год назад
SM64DS had this same minigame. I managed to get to 105 before I decided to end it there.
@csptheqn9544
@csptheqn9544 Год назад
I got 201 and thought I was good man u were insane
@dile3725
@dile3725 Год назад
Once you get in a rhythm, you have to be the one to stop yourself lol I got to at least 1000 before making myself stop
@Itjo
@Itjo Год назад
I got to +1000 and just stopped because I was bored
@Itjo
@Itjo Год назад
​@@dile3725 exactly Same with me
@loansharkjoe6687
@loansharkjoe6687 Год назад
I still play this game to this day. Me and my brother take this game everywhere when we go on holidays with our DSIXLs. We always played Minigames and Mario VS Luigi and just mastered every single thing about the game. Wanted is one of our hated minigames because we played it so much that we would manage to find the faces in less than 1 second of the minigame clock ticking. It's exhausting to play against that level of experience. Really glad you made a video about NSMB, it means a lot to me that this game is still being played, I feel so alone and stuck in the past for still playing DS Lite games in 2022.
@jones20056
@jones20056 Год назад
im so glad this came in on my recommended page, such nostalgia combined with something thats created incredibly. I loved it
@KLGB76
@KLGB76 Год назад
I noticed that most of, if not every time that the AI fails, it's on levels where the icon moves. I guess that's because the reaction time between getting the position of the icon and the moment the AI actually clicks on that position is long enough for the icon to be out of reach. I wonder if there is a way to fix this tiny problem.
@sarowie
@sarowie Год назад
I think part of the problem is, that the icon are partially covered. I wonder if the game gives priority to the top most icon or the wanted Icon in case of overlap.
@KLGB76
@KLGB76 Год назад
​@@sarowie I played this game a lot when I was a kid and replayed it recently. I'm pretty sure that it prioritize the top most icon so you might be onto something here. Although, I didn't check the code of the game so I can't be sure.
@CrazyFanaticMan
@CrazyFanaticMan Год назад
@@SweetSaucer This program doesn't utilize any neural net, so since there is no ML being performed it doesn't qualify as an A.I What I mean by "prediction" is just taking the difference between two integer points, really not that complex. There may be an even simpler implementation but you saying I'm "overthinking" it is strange to me since my solution is really only 3 steps which can be converted to three python functions. Extra screenshots are not needed for determining trajectory.
@CrazyFanaticMan
@CrazyFanaticMan Год назад
@@SweetSaucer ML/AI is all about prediction, that's why I gave you the pretext when I went on to misuse "prediction", a synonym could have been "determine" but I agree with you, prediction is just easier to use and common vernacular Every time a screenshot is taken you can just compare the coordinates, that's what I mean. Pic at time 5 and pic at time 7 will have different the location of the face at different pixel coordinates, no extra screenshots are needed. OpenCV can actually do a very good job at locating the faces despite the erratic movements since it's written in C/C++, it can definitely perform the task in the vid
@CrazyFanaticMan
@CrazyFanaticMan Год назад
@@SweetSaucer You can give your perspective, I don't understand what made you so angry with me
@the_vine_queen
@the_vine_queen Год назад
You could've just searched for red and yellow pixels for Mario and Wario respectively, since red and yellow only show up for those characters. This obviously couldn't work for Luigi and Yoshi, but it might speed up the process and ensure no time is lost on Mario or Wario. Great program tho!
@justin66asdf
@justin66asdf Год назад
Except for on ones like the example at 4:34 . If I remember this minigame right that is a static one so the hats never show. There are probably also some overlapping ones that don't move that will also completely obscure the hat.
@ZipplyZane
@ZipplyZane Год назад
@@justin66asdf I believe the idea would be to automatically click only if the appropriate red or yellow is present (hopefully within a single frame). If not, then you fall back to matching the image.
@nightmareblocks
@nightmareblocks Год назад
@@ZipplyZane I was just coming to comment the same thing
@Mabra51
@Mabra51 Год назад
But sometimes their hats is completely obstructed.
@fashnek
@fashnek Год назад
@@Mabra51 And? A one-size-fits-all solution is generally unoptimized
@adamzero_
@adamzero_ Год назад
that level 107 was rigged, luigi was hiding for like 90% of it.
@paultheseaturtle6276
@paultheseaturtle6276 Год назад
This game is a masterpiece in itself. I've been playing it again recently and It is SO ENTERTAINING. Im glad you made a video on it because not many people truly appreciate this amazing game.
@Joker22593
@Joker22593 Год назад
What I like is that the minigames are the same ones on Super Mario 64 DS and you can do crossplay multiplayer between the two.
@BMeiome13
@BMeiome13 Год назад
Finally someone that mentions SM64DS!
@Xenofinite
@Xenofinite Год назад
oh crossplay multiplayer like that is a thing??? makes me wanna test it out for myself
@kingwes987
@kingwes987 Год назад
Thanks so much for making the code available! I’m working on a project that requires image recognition and this will help me a lot!
@zedin27
@zedin27 Год назад
I struggled watching this at night :(. The white background just blasts my eyes. But other than that, seeing my favorite minigame from the super mario DS game with programming, it brings me smiles on my face. Good job!
@valle1079
@valle1079 Год назад
That was so cool! The smb mini games on the ds were such a big part of my childhood !
@virtualcolt
@virtualcolt Год назад
I remember playing wanted with my mom for hours, i got so good at it that I can now spot the faces pretty fast and accumulate a lot of extra time
@Ultragay_bacon
@Ultragay_bacon Год назад
Wow, maybe one day we could get an AI that can play the actual new super mario bros ds in real time
@thebananaspeedruns9275
@thebananaspeedruns9275 Год назад
Isn’t that just a TAS?
@overthinkit_
@overthinkit_ Год назад
@@thebananaspeedruns9275 A TAS is a human playing the game, but putting in each and every one of their inputs frame-by-frame & via a program, rather than real-time & via a controller. That's why it's called a _Tool-ASsisted_ speedrun!
@slyp5409
@slyp5409 Год назад
@@overthinkit_ There are TAS that have real time elements to them. Im willing to bet this AI could count as one if the minigame was timed and had a leaderboard. Also it Tool-Assisted-Speedrun. The last S is for speedrun, not part of the word Assisted
@sledgen.
@sledgen. Год назад
@@overthinkit_ oh hey it’s the guy from quinbobin xD
@veto_5762
@veto_5762 Год назад
For that you either need and hyper advanced ai able to recognize paterns types of colisions, enemies, etc... or just mess with the game code and somehow make it send specific signals to an external program
@howdy1079
@howdy1079 Год назад
I haven’t played these games in years, thanks for the trip back to memory lane.
@lensi3112
@lensi3112 9 месяцев назад
Actually such a great video! I loved playing those minigames as a kid.
@genocider5868
@genocider5868 Год назад
I wonder if it'd work better if you had a program seperate sprites' color schemes and look for colors that occur only in one character (like red for Mario, Yellow for Wario and there are probably more colors than that) so that if there's a red or yellow it can find the icon faster
@genericfakename4372
@genericfakename4372 Год назад
I mean, that is essentially what the 'sub icons' thing was doing. Except instead of a single pixel (which could be covered up), dividing it into groups of distinct characteristics that are less likely to be so.
@sirsins9598
@sirsins9598 Год назад
Counterpoint: Chins.
@AceFaz
@AceFaz Год назад
@@sirsins9598 then have the chins as a final resort, and the colour scheme take place between the 2 since it's more reliable
@Dr.Death8520
@Dr.Death8520 Год назад
Colours only helps for 2/4 options though, so it isn't an efficient solution. And as mentioned you may not see that speck of red/yellow if the layout is unhelpful
@Julian-um2om
@Julian-um2om Год назад
sho pfp !!!
@Xander_X
@Xander_X Год назад
That was awesome! Gonna try programming in the next Couple of months too!
@david.the.disaster
@david.the.disaster Год назад
I loved these mini games as a kid. Really fun video, I never got past 15 levels
@hinge8626
@hinge8626 Год назад
Just found this channel while looking at code bullet. I immediately subbed after watching this.
@TheAlexSchmidt
@TheAlexSchmidt Год назад
I imagine this must've inspired Wii Play's Find Mii seeing as it uses a similar timer-based system to determine how far you get.
@B00GMAN_08
@B00GMAN_08 Год назад
Very Impressive! I noticed that almost all of its misses at the end came from the fact that the icons were moving and the AI couldn't keep up. I wonder if there's a possible way to fix that?
@slob5041
@slob5041 Год назад
Use a few frames to test for motion then wait for the loop to come back and match.
@lukenawrocki5042
@lukenawrocki5042 Год назад
HO boy that was intense, i was expecting it to not work at all until it was able to go infinitely but it was so fun seeing it have close calls. Great video!
@MightyTheArmadillo_YouTube
@MightyTheArmadillo_YouTube Год назад
NSMB was ahead of its time. Also, I can’t code Python except for print, so you’ve earned my sub
@blandpotato545
@blandpotato545 Год назад
I’ve played this game so much as a kid I find it funny how I can find mario faster than the AI sometimes
@andresmartinezramos7513
@andresmartinezramos7513 Год назад
That is because you sre looking for red pixels for Mario. I would guess you can also find Wario faster, while performing similarly to the algorithm when it comes to Luigi and Yoshi.
@oldveryveryoldmanfromthe1900s
@@andresmartinezramos7513 Mario and warios faces are differently shaped to the point of being notable
@xpiggyyyplayz6752
@xpiggyyyplayz6752 Год назад
Very entertaining video! Love your stuff :)
@All54321
@All54321 Год назад
This video gave me such nostalgia from my childhood. Just, that game, those mini games.
@CyanicCore
@CyanicCore Год назад
This is one of the easier games on NSMB/64DS, but this is still impressive! I've finally started trying to learn Python myself, and people like you are quite inspiring. Seeing how the AI performed here, have you considered other minigames? For example, "Which Wiggler?" should avoid some overlapping, but also requires more precision. Hide and Boo seek would be interesting as well, though the task is very different.
@Poup_o7
@Poup_o7 Год назад
Wow this was actually a pretty interesting video. Definitely earned my subscription
@azukar8
@azukar8 Год назад
I was wondering why it seemed to hesitate on a couple of the moving levels? During the timelapse it seemed to wait a while and let the timer run down, or make a few misclicks before getting it right.
@CodeNoodles
@CodeNoodles Год назад
It only updates 2 times per second so if the character is behind another it doesn't locate it on that frame. It also misclicks occasionally because it isn't always fast enough.
@liamjones2131
@liamjones2131 Год назад
Not only that, when the movement happens, the Wanted Character isn't always at the front. Any time you click on the wanted character, when an unwanted character is in the foreground on the exact space you clicked, it will think you clicked the unwanted character. I lost a 60 odd run that way about 10 years ago.
@McTuber42
@McTuber42 Год назад
@@CodeNoodles would it be possible to make it update faster?
@zitronenwasser
@zitronenwasser Год назад
@@McTuber42 More optimized code, use c++, or put everything in a c/c++ library that is performance intensive and call it from python
@azukar8
@azukar8 Год назад
@@CodeNoodles Makes sense. I'm an extremely beginner programmer so I'm trying my best to learn
@amaikarai5007
@amaikarai5007 Год назад
You just unlocked a memory for me, wow. I was addicted to these minigames. Especially during long car rides.
@naerolf09
@naerolf09 Год назад
this was a blast from the past thank you for this
@pancake891
@pancake891 Год назад
OMG BRO I USED TO LOVE THIS GAME!!! Idk lemme check what my highscore on it was
@frankdieter9907
@frankdieter9907 Год назад
very good content, loving it so far, please continue ^^
@trim7416
@trim7416 Год назад
Woah that is super cool! And I'm sure a lot of people would get a kick out of this even if they don't code, great work!
@seankim8908
@seankim8908 11 месяцев назад
This completely blew me away... Awesome job!
@smellthel
@smellthel Год назад
I love this AI. It’s how a very good Wanted! player would play.
@bigbob_yt
@bigbob_yt Год назад
Cool video, keep up the great work!
@TigerFucker
@TigerFucker 9 месяцев назад
This mini game was my childhood, i played it up to the thousands so often! Sometimes leaving it on and close my DS just to keep pushing my record for weeks.
@Nerdtendo6366
@Nerdtendo6366 Год назад
I remember playing Wanted during a power outage and I purposely let myself die because I just wanted to do something different. Wanted might be one of the easiest mini games ever
@grylltheonion
@grylltheonion Год назад
If you use glasses, try doing it without them. It's near impossible lmao
@Nerdtendo6366
@Nerdtendo6366 Год назад
@@grylltheonion I don’t wear glasses
@DrCryptex
@DrCryptex Год назад
These videos are so cool
@DaFallenFactory
@DaFallenFactory Год назад
I honestly forgot about that minigame but now that I remember, that was my favorite minigame
@jonathanvandagriff7515
@jonathanvandagriff7515 Год назад
It's so neat seeing someone do this to a mini game you remember playing from your childhood.
@Dannysaurus606
@Dannysaurus606 Год назад
Nice video. Good idea with the subicons, that wouldn't have ocurred to me
@jamesfilms_
@jamesfilms_ Год назад
Someone was certainly inspired by Code Bullet haha. Great video though man, you've definitely beaten my high score.
@Quinten-sn6it
@Quinten-sn6it Год назад
I totally forgot about these minigames, these were amazing!!
@emperorrayquaza
@emperorrayquaza Год назад
You can tell even when it’s getting it wrong it’s cos it’s miss clicking on the ones that are moving, since the mouse just moves to the point where it’s at then the icon moves it misses. Very cool creation
@InverseOfficial
@InverseOfficial Год назад
This game is a certified hood classic 🔥
@Reddreambigfart
@Reddreambigfart Год назад
I've always wanted to see something like this made
@ellianagrant6294
@ellianagrant6294 Год назад
Heh heh
@Tealen
@Tealen Год назад
You just reminded me of these minigames! I played these a lot as a kid
@Nirtue
@Nirtue Год назад
These minigames were so much fun. I think I played these just as much as the main game as a kid
@ZXMany
@ZXMany Год назад
This is so satisfying to watch, such a great idea!
@slamopfpnoobneverunsub5362
@slamopfpnoobneverunsub5362 Год назад
Hi
@ianorr1388
@ianorr1388 Год назад
god i love my 3ds glad to still have one :D
@aethar2750
@aethar2750 Год назад
The new super mario brothers minigames have been a key and fundamental part of my childhood and has kept me alive all this time
@Vfulncchl
@Vfulncchl Год назад
This must be the perfect video for me!! I played that game for hours as a child, and I’ve coded in Python for thousands of hours! This is so cool!
@Caroteen666
@Caroteen666 Год назад
This is extremely well made and nobody but ppl who code get that.
@EnchantFortnite
@EnchantFortnite Год назад
Amazing Video!
@Lcago
@Lcago Год назад
I really love how your channel is blowing up out of nowhere
@MetalBansheeX
@MetalBansheeX 10 месяцев назад
That "buh-bye" at the end is the cherry on top:)
@lamenwatch1877
@lamenwatch1877 Год назад
You could make it so mario just checks for anything red, and wario for yellow, since I think those are the only ones that have those colors. EDIT: Never mind, this is a flawed idea.
@omicra6874
@omicra6874 Год назад
if the colours of their respective hats where blocked by another character, there would be no coloured distinction that the AI could detect. Your strategy might work for the first few stages, but once the screen is filled there is a higher probability that distinctive factors are lost.
@lamenwatch1877
@lamenwatch1877 Год назад
@@omicra6874 Good point, I didn't think about that.
@meebolover1777
@meebolover1777 Год назад
This is awesome. It seems there is only one bug to fix. It seems you programmed the tap to be the center of the face(or around there) and when the other icons cover that spot the code doesn’t notice and ends up missing. This would be hard to fix without knowing have tight the hit box is though. If it’s only as big and the same shape as the the sprite, then you can tell it to tap exactly where the sun image is, if not, you may have to make it wait until its sure it can hit the target.
@Kraken_JPN
@Kraken_JPN Год назад
BRO, THAT NOSTALGIA IS HITTING ME SO HARD.TY for reminding that I've played ALL OF THEM when i was a kid...
@nickt2699
@nickt2699 Год назад
No joke. I played this game a few days ago. If not, exaclty the same day you uploaded this video. Prior to that day you uploaded, it's been about 5 years ago since I last played.
@kubekson7786
@kubekson7786 Год назад
I LOVE your a.i. videos
@Zicrus
@Zicrus Год назад
It's definitely an AI title, but it's not an AI video unfortunately. Still entertaining tho!
@Zicrus
@Zicrus Год назад
Nvm they changed the title, now it doesn't say AI in the title anymore.
@ado-
@ado- Год назад
Wouldn't it make for faster image processing to check the hex value for a specific pixel on the top screen a set amount of time after it taps a character on the bottom? (Sorry if this makes no sense lol)
@memetech-
@memetech- Год назад
I made no sense until I watched but now I understand what you are talking about. Like if it looks at the hat colour and it matches Mario, Luigi, warrior, wa Luigi or yoshis eyes then skip the top screen search and just look at the bottom screen for that image. Another improvement would be to wait for the bottom screen to not be completely black, if it does not already do that
@ado-
@ado- Год назад
@@memetech- yeah the completely black screen thing is a hurdle but after you tap the right character the timing should be perfectly consistent of when the character shows up i think
@CodeNoodles
@CodeNoodles Год назад
I think I see what your saying. If it looks for the hat color though (excluding Yoshi) what if the hat isn't visible on the bottom screen?
@memetech-
@memetech- Год назад
@@CodeNoodles it’s always visible on the top screen. You see the colour, match it to an image in the expansive database of a few Mario characters, and continue where this already does
@ado-
@ado- Год назад
@@CodeNoodles i'm talking exclusively about the image recognition of the top screen. it definitely isn't the brunt of the image recognition loading time though lol
@Imaproshaman7
@Imaproshaman7 Год назад
Wow, this was really cool! This was great to get in my recommended. I love NSMB. I played it so much as a kid!
@aaronherbold
@aaronherbold Год назад
I'm definetely impressed 😲 You code is really clean btw, love that.
@shopnil4
@shopnil4 Год назад
I remember playing until like level 40 and we had this group of friends that would come together to see who got the highest level lol
@Y0SH1P0GG3R
@Y0SH1P0GG3R Год назад
Who got first most of the time?
@Zicrus
@Zicrus Год назад
Nice video! The title is definitely clickbait tho, since it doesn't actually learn anything and is just a pre-programmed algorithm. I wouldn't really call that an AI...
@characookie241
@characookie241 Год назад
They didn't call it an ai tho
@Zicrus
@Zicrus Год назад
@@characookie241 Oh they changed the title. When I wrote my comment the title was something like "AI learns to find Mario"
@leandrozhabjaku2405
@leandrozhabjaku2405 Год назад
0:01 i just found your channel and i already love you NSMB is love, NSMB is life
@freddyp8804
@freddyp8804 Год назад
This find mario just unlocked a core memory I hadn’t remembered in a decade
@xray8012
@xray8012 Год назад
Have you tried doing this for the Bomb-omb sorting minigame yet? Since that minigame has two distinct colors it shouldnt be that hard to code
@idoblenderstuffs
@idoblenderstuffs Год назад
what program are you using to write the python code?
@CodeNoodles
@CodeNoodles Год назад
Vscode
@REALWillamAfton
@REALWillamAfton Год назад
I’m crying because I havn’t seen this title in years and the thumbnail just made emotional
@therealalienacid
@therealalienacid Год назад
The minigames were the highlight of my childhood, I spent 10 days on the road with my parents going to Orlando and I played this game pretty much the entire time
@divine203
@divine203 Год назад
whats up code pasta
@CodeNoodles
@CodeNoodles Год назад
Code Pasta is a good nickname 😆
@ThatNoobKing
@ThatNoobKing Год назад
Spy TF2 catcher
@CodeNoodles
@CodeNoodles Год назад
Lol
@catfluff85
@catfluff85 5 месяцев назад
All I gotta say is 1. This is impressive 2. Damn the BGM in this video is a banger
@bcase976
@bcase976 Год назад
I always loved that gamemode. Cool video.
@CdogThePro
@CdogThePro Год назад
First time seeing this channel. Definitely didn't disappoint.
@keeganschnieder1661
@keeganschnieder1661 Год назад
Not just master pieces but also absolute banger some those higher rounds are hard
@drawnfromflames7007
@drawnfromflames7007 Год назад
This is giving me mad early code bullet vibes, ill sub to that
@Rickby
@Rickby Год назад
Honestly I would love to see a video of you explaining your code and what it’s doing, I know that would take forever, but as a CS student, it’s so intimidating to watch, but I wanna learn it so bad
@ZoeBateman
@ZoeBateman Год назад
I loved this minigame as a kid, I’d play it until I got bored. I think my high score was like 500 if I’m remembering right. Cool to see it so well automated!
@Flop_Studios
@Flop_Studios Год назад
Dude I played these minigames so much and at one point I got this game to 1000 score. Never thought I would see it in my recomended.
@michaelmamba1578
@michaelmamba1578 Год назад
I use to LOVE the trampoline and jumping on the shy guys mini games. Along with the one where u have make a path for the Mario head
@ComplexOri
@ComplexOri Год назад
This was awesome! Great work!
@clampchamp1822
@clampchamp1822 Год назад
Knowing that Mario used to be Miniladd's gmod player model and the thumbnail has a wanted poster of him makes this a whole lot better
Далее
Image Recognition DESTROYS Mario Minigames
13:35
Просмотров 731 тыс.
Using Image Recognition to DESTROY Fruit Ninja
10:08
Просмотров 580 тыс.
Gale Now VS Then Edit🥵 #brawlstars #shorts
00:15
Просмотров 317 тыс.
Barry Policeman And His Son Vs Prisoners
00:26
Просмотров 691 тыс.
🎤Пою РЕТРО Песни ✧˖°
3:04:48
Просмотров 1,7 млн
Olive can see you 😱
01:00
Просмотров 18 млн
computers suck at division (a painful discovery)
5:09
Passing A Portal Through Itself
4:05
Просмотров 10 млн
SMG2 Modding used the wrong way...
7:54
Просмотров 30 тыс.
The rarest move in chess
17:01
Просмотров 1,2 млн
Using Image Recognition to play Mario Party Minigames
13:16
Creating an Operating System for the NES
11:11
Просмотров 763 тыс.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Просмотров 904 тыс.
AI Learns to Escape (deep reinforcement learning)
8:18
How Speedrunners ALREADY Completely Broke Mario Wonder
22:31
Самый СТРАННЫЙ смартфон!
0:57
Просмотров 31 тыс.
Will the battery emit smoke if it rotates rapidly?
0:11