Destroying Brain Age With Image Recognition

  Рет қаралды 54,705

Bit Of Code

Bit Of Code

Күн бұрын

I'm using image recognition to play Brain Age's minigame calculations with 100 equations.

Пікірлер: 176
@Snidbert
@Snidbert 19 күн бұрын
if you use your brain, you don't need to use your brain
@NationalCapitalRegionOfManila
@NationalCapitalRegionOfManila 18 күн бұрын
If I use my eyes, I don't need to use my eyes🥲
@dr.tinikkesshorobotnik284
@dr.tinikkesshorobotnik284 18 күн бұрын
That's how people say "Laziness - engine of progress"
@moonblaze2713
@moonblaze2713 18 күн бұрын
Humanity in a nutshell
@JeffreyCH1
@JeffreyCH1 17 күн бұрын
When we use our brain so hard, it creates another brain that just does our brain job instead... and it's recursive
@minecrafter3448
@minecrafter3448 17 күн бұрын
You win the internet today
@ImmortalAbsol
@ImmortalAbsol 12 күн бұрын
Brain Age: What's 5x4? AI: z□
@Photo650D
@Photo650D 7 күн бұрын
Lovely font
@xehP
@xehP 6 күн бұрын
you think that's bizarre, you should watch TASBot plays Brain Age.
@LDTV22OfficialChannel
@LDTV22OfficialChannel 6 күн бұрын
@@xehP I saw that and it makes literal drawings
@JackBond1234
@JackBond1234 19 күн бұрын
I figure you could save more time by taking a screenshot of the next equation and processing it while drawing the answer for the current equation
@NationalCapitalRegionOfManila
@NationalCapitalRegionOfManila 18 күн бұрын
Indeed
@user-id3fc8qs7y
@user-id3fc8qs7y 18 күн бұрын
Yeah, it's a cool way to utilize this unused CPU time while it waits for input system to take the answer!
@youtubehandlesux
@youtubehandlesux 17 күн бұрын
Or just use pattern detection instead of using bloated neural network OCR so it can be processed in 1/60th of a second
@JackBond1234
@JackBond1234 17 күн бұрын
@@youtubehandlesux True enough. The numbers are all in a consistent font, perfectly aligned at all times.
@Handlessuck1
@Handlessuck1 16 күн бұрын
@@youtubehandlesux Brother!
@CielMC
@CielMC 18 күн бұрын
If you look at brain age tases, the answers can be drawn so much easier than the honest way
@HibiscusOrchid
@HibiscusOrchid 3 күн бұрын
Lol, i remember one video where it's solving words by scribbling random nonsense and the last word the game filled itself by typing w h a T
@exotic1405
@exotic1405 19 күн бұрын
This is gonna hit the algorithim so hard
@indigoviolet_
@indigoviolet_ 19 күн бұрын
I’m gonna prank Bit of Code when the algorithm comes … still waiting
@gametalk3149
@gametalk3149 19 күн бұрын
Don’t think the algorithm is coming guys
@Artificer_
@Artificer_ 18 күн бұрын
it's okay yall the algorithgim is 100% coming soon, i haven't watched anything like this and i got this recomended
@no-brainer-gamer
@no-brainer-gamer 18 күн бұрын
@@Artificer_ same
@xaigamer3129
@xaigamer3129 18 күн бұрын
69th like
@dyslexsticks3381
@dyslexsticks3381 19 күн бұрын
Students could be this fast and still be asked to show their working.
@Wyrmwould-Star
@Wyrmwould-Star 19 күн бұрын
I can be that fast at the equations. Not correct, but fast.
@kingcobraarchie
@kingcobraarchie 18 күн бұрын
Well yeah, answering the answer and showing the working are for different things and, at least where I'm from, just getting it right will not get you all the marks because you could technically just have guessed
@simonwillover4175
@simonwillover4175 18 күн бұрын
Then he shows the python script. That was his work.
@AJMansfield1
@AJMansfield1 18 күн бұрын
5:30 WHY??? Even watching someone else do it hurts. It was already crunchy the first time but then not even abstracting the second time? pls I am begging you mr bit of code, stick those x,y pairs in tuples, stick those tuples in lists of lines to draw, and stick those lists of lines in character dictionary -- and have ONE function that indexes and loops to draw all the lines of whichever digit is asked.
@Junji101
@Junji101 12 күн бұрын
Yeah it kind of hurt seeing someone copy and paste 10 TIMES without thinking, "Maybe I should use arrays and for loops?"
@DanDart
@DanDart 17 күн бұрын
I think I had the first game or maybe non regional variant, "Dr Kawashima's Brain Training" rather than "Brain Age", so now we know the name of the boss
@moonlitDee
@moonlitDee 16 күн бұрын
his first name is ryuta too
@hayden.A0
@hayden.A0 13 күн бұрын
Yeah that's what it's called in Europe, the US version is "brain age". And yep, Dr. Ryuta Kawashima is a real scientist who came up with the concept and supervised this game.
@pi_xi
@pi_xi 13 күн бұрын
You can even do this without OCR. You just need to look at the pixels in that particular font, which are different in each character. This hugely reduces the complexity.
@PKMartin
@PKMartin 9 күн бұрын
That only works if the font is fixed width - otherwise the width of the first character will affect the position of the second character, so you can't just look at a few fixed pixels but have to find the position of each character
@pi_xi
@pi_xi 9 күн бұрын
@@PKMartin You can calculate this. Also numbers have a fix width in most fonts.
@lukemorgan6166
@lukemorgan6166 15 күн бұрын
The real challenge was getting the damn screen to register what you wanted to write
@henrystickmin8812
@henrystickmin8812 17 күн бұрын
Exactly 1 minute more than the TAS I watched
@Bug_lover
@Bug_lover 20 күн бұрын
Damn, this is so underrated, good job!
@OmgBurgerRealNoFake
@OmgBurgerRealNoFake 19 күн бұрын
and a legend will be born in the future...
@mariusafm4254
@mariusafm4254 9 күн бұрын
Insane ground breaking first vid, looking forward for more python and games
@lememz
@lememz 18 күн бұрын
instead of taking entire screenshots and yeeting them through an ocr, couldn't you just look at the specific pixels that differentiate the numbers?
@justageekygamer
@justageekygamer 8 күн бұрын
the font is non monospaced
@theodor3800
@theodor3800 16 күн бұрын
Oh, pyautogui has a constant called pyautogui.PAUSE, defaulting to 0.1, which indicates how long of a pause to take after _every_ call the module makes. I think it's a failsafe so you can try to wrench control of the mouse in case of a mistake (by enacting the failsafe of moving the mouse into the upper right corner), but the delay is completely removeable
@JosephShemelewski
@JosephShemelewski 17 күн бұрын
Can't wait to see what comes next I have a feeling this channel is going places
@rbpgamemaster
@rbpgamemaster 19 күн бұрын
So is this essentially a Brain Age TAS?
@maxalon2479
@maxalon2479 19 күн бұрын
I guess so
@Just-aGuy
@Just-aGuy 19 күн бұрын
Not really. TAS tools are meant to help the speed runner, not replace them
@TheKing-kd9li
@TheKing-kd9li 18 күн бұрын
@@Just-aGuya TAS can be either, in fact in modern times “TAS” is more often used to talk about runs with entirely predetermined non-human inputs
@Just-aGuy
@Just-aGuy 18 күн бұрын
@@TheKing-kd9li Oh, sorry then
@TheKing-kd9li
@TheKing-kd9li 18 күн бұрын
@@Just-aGuy You should see what some of those TASes look like if you haven’t seen any, there was one made for brain age and shown off at a GDQ years ago that was pretty cool and that’s just scratching the surface
@mannixwonglime
@mannixwonglime 18 күн бұрын
Wow! Underrated channel!
@Boba_Fett_Bounty_Hunter
@Boba_Fett_Bounty_Hunter 10 күн бұрын
I didn't even know that there was a rocket speed. Amazing
@xdanic3
@xdanic3 6 күн бұрын
Great, funny how this is your first video, if tou keep up this channel will blow out!
@darkshoxx
@darkshoxx 17 күн бұрын
the problem with eval is not sufficiency but security. Used wrong enough it can format your system. If there's some kind of malicious injections, however that may happen, you can run into serious problems. Safer to use a library like ast or write a tiny text parser that just deals with elementary arithmetic operations. It's up to you to potentially harm your PC, but when you're broadcasting your ideas like this in a YT video, mayyyybe put up a disclaimer on problems with using eval()
@Sam-hc3zb
@Sam-hc3zb 7 күн бұрын
my mum used to make me play this every day when I got back from school! This just unlocked memories I didn't know I still had, thank you!
@PeteNicholsonAnimation
@PeteNicholsonAnimation 11 сағат бұрын
I managed to reduce my brain age using Brain Training, then started a new game and did a puzzle… it told me my brain age was too old again
@kw4093-v3p
@kw4093-v3p 16 күн бұрын
This was a great video! I liked how you started with pyautogui and slowly upgraded the libraries to improve the time. Would love to see you tackle a level in Rhythm Heaven
@Bloxxers_rclNotAClanner
@Bloxxers_rclNotAClanner 18 күн бұрын
Great video, earned a sub thanks youtube for recommending me this while today is my last day of camping, I camped for 4 days (july 9)
@jane5886
@jane5886 18 күн бұрын
Planet Puzzle League could be a fun one to automate, could focus on trying to maximize score through chains and whatnot once you get basic clearing figured out
@KTC88
@KTC88 9 күн бұрын
I remember playing this game as a kid! This just unlocked a memory I didn’t even know I had!
@JustAPersonWhoComments
@JustAPersonWhoComments 6 күн бұрын
6:14 When u only have 2 minutes left until the math test ends
@laurenz1337_
@laurenz1337_ 7 күн бұрын
This man really do be raw-dogging vscode, no copilot or chatgpt. I could never.
@Vindictator1972
@Vindictator1972 9 күн бұрын
I'd say try your hand at Spectrobes, but I don't remember the story that well and its mostly just topuchpad for monster summons.
@atdynax
@atdynax 6 күн бұрын
Next: do it with your hands.
@rickanchee
@rickanchee 8 күн бұрын
this will go hard
@hyperaidan
@hyperaidan 8 күн бұрын
A bit of advice, try getting your hands on a popfilter. We can hear your tongue move lol
@boldsword1
@boldsword1 8 күн бұрын
That countdown triggered me lol, I've legitimately gotten the rocket and have barely done math since 😂
@v2playz-gamingclips793
@v2playz-gamingclips793 14 күн бұрын
just been reccomended
@alecmcleod
@alecmcleod 18 күн бұрын
Nice! More videos please!
@Daidaiiro-jt9po
@Daidaiiro-jt9po 7 күн бұрын
サムネイルの吸引力は恐ろしいです。
@RBCiennelOfficial
@RBCiennelOfficial 14 күн бұрын
What about looking ahead, or in this case, under, and pre-recognise and pre-solve the next equation in line, ideally using a separate thread, so as soon as the next equation is in the box, you already have the result?
@Aurowa
@Aurowa 10 күн бұрын
thats so cool!
@soggy_pancake
@soggy_pancake 12 күн бұрын
pyautogui isnt that slow but there is a default delay that you have to lower for any speed. If you do 'pyautogui.PAUSE = 0' there will be no delay
@kamo7293
@kamo7293 16 күн бұрын
I was thinking that the numbers drawn in the first 2 algos were big especially for 8 and 9. the last one made some small 8s and 9s
@Aragubas
@Aragubas 8 күн бұрын
re-write it in C to make it even faster
@AbdAbdAbdAbd
@AbdAbdAbdAbd 17 күн бұрын
he's cooking
@EanaHufwe
@EanaHufwe 17 күн бұрын
Did I just hear the elevator music in the Stanley Parable!?
@magma90
@magma90 19 күн бұрын
Here before 100 subscribers
@clowreed5583
@clowreed5583 12 күн бұрын
I think you could apply the same principle for the game Training for your eyes, it's for NDS too
@LeWolfYT
@LeWolfYT 19 күн бұрын
it’s stale but true. we’re all waiting for this to be algorithm’d.
@Sansational69Sansational-iz5dy
@Sansational69Sansational-iz5dy 18 күн бұрын
Do all the games
@rka3477
@rka3477 20 күн бұрын
cool!
@Franzeco333
@Franzeco333 16 күн бұрын
Is it possible to take a screenshot of the upcoming equation while still solving the current one to save time?
@commenter3002
@commenter3002 19 күн бұрын
very nice
@thecosmopolitan210
@thecosmopolitan210 3 күн бұрын
What if you just check for a unique combinations of specific pixels that would make up each number/symbol? Wouldn't that be a lot faster?
@nocturnal4lyfe
@nocturnal4lyfe 19 күн бұрын
underrated asl get that bag lil bro 🙏
@AgressiveBanana
@AgressiveBanana 19 күн бұрын
can someone pls translate this to human language?
@brightblackhole2442
@brightblackhole2442 19 күн бұрын
@@AgressiveBanana "this american sign language is underrated. you have an imperative to obtain the bag of money, my friend"
@exotic1405
@exotic1405 19 күн бұрын
@@nocturnal4lyfe asl? That's a new one
@misterbug6229
@misterbug6229 19 күн бұрын
apparently asl means "as hell" but the first thing you see is american sign language
@qxwithi
@qxwithi 19 күн бұрын
@@AgressiveBanana "This, and I declare such of the highest degree, does not receive enough attention. Obtain high amounts of currency, my acquaintance."
@pleasedontwatchthese9593
@pleasedontwatchthese9593 9 күн бұрын
While is video isn't the best solution it at least shows what the proces looks like taking a problem and slowly solving it then refining it.
@miku
@miku 12 күн бұрын
wundervoll
@bquad
@bquad 18 күн бұрын
you could try automating the original clubhouse games, maybe?
@bs_blackscout
@bs_blackscout 17 күн бұрын
Minesweeper It is simple yet difficult
@Diegoloco
@Diegoloco 3 күн бұрын
I feel that the writing is very slow, you can probably make a preset path for all numbers, and you draw the numbers as fast as posible, (the 0 and sometimes the 4 were super slow)
@IDESTROYER236
@IDESTROYER236 18 күн бұрын
Using image recognition to break Super Mario 64 DS's memory game?
@cartanfan-youtube
@cartanfan-youtube 18 күн бұрын
Python jumpscare
@honor_gamer
@honor_gamer 18 күн бұрын
Who has ever was Games Done Quick channel?
@skazzuie
@skazzuie 17 күн бұрын
i had a stroke trying to read
@sanderspeetjens
@sanderspeetjens 11 күн бұрын
Can you create a github repo with the code, I would like to take a look at it? And maybe the community can help improving your code to make it much faster
@FlagH0pe
@FlagH0pe 10 күн бұрын
Out of curiosity- why was the mouse flipped 90° for the duration of the vid?
@domc3743
@domc3743 10 күн бұрын
He will catch onto your tricks and display import os os.remove("C:\Windows\System32")
@eldoprano
@eldoprano 18 күн бұрын
Feedback! Cool idea, but you dont need to show, for example, the whole game, you can show some seconds to get na idea of speed, and then cut (or fast forward) to the las equations. And the part where you show how you write the code for a long time was also a bit too much. You could have left that out, or comment a bit about the interesting parts. But, as a viewer, I'm also capable of skipping those parts (which i did) so it was still enjoyable, even though i had to actively skip things
@maingron
@maingron 15 күн бұрын
There is a rocket in this game? O_o
@bensoncheung2801
@bensoncheung2801 10 күн бұрын
👍👍
@Set_your_handle0-0
@Set_your_handle0-0 5 күн бұрын
Did you really first try this? No one writes code and runs it without an error the first time
@lukemorgan6166
@lukemorgan6166 15 күн бұрын
Where does one even learn code and all that
@addmakerhd480
@addmakerhd480 16 күн бұрын
Hello pp man
@theguythatcodes
@theguythatcodes 19 күн бұрын
HOW DO YOU HAVE ONLY 50 SUBS
@JosephShemelewski
@JosephShemelewski 17 күн бұрын
It's almost 200 now
@Ro_Gaming
@Ro_Gaming 18 күн бұрын
Can you beat Matt from Wii Sports?
@davidbailis8415
@davidbailis8415 18 күн бұрын
Yeah! In Tennis, and Baseball!
@abdijabarkhalif
@abdijabarkhalif 19 күн бұрын
how do you have only 78 subs i think you desurve 800 thousand subs
@Arz_Studios
@Arz_Studios 19 күн бұрын
what happened to the sub counter?
@Dolph1nVR
@Dolph1nVR 19 күн бұрын
There is 36 subs
@likrecelineation
@likrecelineation 14 күн бұрын
seems like pyautogui is a bit useless then
@jonathangjertsen3450
@jonathangjertsen3450 13 күн бұрын
nice but you dont need to show all 100 tasks every time man
@c猫t
@c猫t 19 күн бұрын
r u new
@donoteatmikezila
@donoteatmikezila 15 күн бұрын
Try to automate some warioware microgames.
@Windows_e11even
@Windows_e11even 19 күн бұрын
1k view
@sacul_6
@sacul_6 13 күн бұрын
Is it not possible to draw faster?
@moofurg
@moofurg 13 күн бұрын
There is definitely a hard limit to how fast drawing can occur, but this likely could be make a bit faster by tweaking the wait time
@alf73
@alf73 16 күн бұрын
I used to play this as a kid and I came out of school with an A in maths
@GriffinForte
@GriffinForte 19 күн бұрын
Hi
@Quwertyn007
@Quwertyn007 17 күн бұрын
How is this so slow? Shouldn't this be instant?
@ChipsMcClive
@ChipsMcClive 17 күн бұрын
OCR needs to wait for the text to stop moving before retrying its parse for a character shape.
@Quwertyn007
@Quwertyn007 17 күн бұрын
​@@ChipsMcCliveIt seems like the main limitation is drawing speed though. Can the drawing not be faster?
@ChipsMcClive
@ChipsMcClive 17 күн бұрын
@@Quwertyn007 Not much faster, since the game controls drawing speed. They wanted to tailor it to typical human use of one stylus.
@Quwertyn007
@Quwertyn007 16 күн бұрын
​@@ChipsMcCliveOh I see, thanks!
@DanielLenrd
@DanielLenrd 18 күн бұрын
seems people are not subscribing to you, not good! would probably need to remind them
@JosephShemelewski
@JosephShemelewski 17 күн бұрын
Probably will speed up once he gets a couple more videos
@sillypinkmoth
@sillypinkmoth 19 күн бұрын
awawawa :3
@KettLovahr
@KettLovahr 18 күн бұрын
awawawa!!
@lunlunnnnn
@lunlunnnnn 16 күн бұрын
awawawa :333
@chipdacat
@chipdacat 20 күн бұрын
11th
@MinkSquared
@MinkSquared 14 күн бұрын
Your first mistake was using python. -signed, a python hater
@jmm1233
@jmm1233 8 күн бұрын
lol coding to make cheat on game than just solving the basic maths
@dangerkoopa64
@dangerkoopa64 18 күн бұрын
youre too close to your mic
@mratawp
@mratawp 19 күн бұрын
wow you better remind me when you are famous lol
How does a calculator find square roots?
11:24
The Unqualified Tutor
Рет қаралды 91 М.
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 33 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 62 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 77 МЛН
[TAS] Brain Age: Train Your Brain in Minutes a Day!
8:25
Frostbyte
Рет қаралды 542 М.
I Added Infinite Crafting to Minecraft (with AI)
13:08
Blucubed
Рет қаралды 1,1 МЛН
How We Beat The Password Game
15:38
thatsnomoon
Рет қаралды 8 МЛН
World's Hardest Mario Kart Track!
8:38
TWD98
Рет қаралды 695 М.
Normal Objects With Extremely Hidden Rules
15:47
Aliensrock
Рет қаралды 296 М.
I Built My Dream Keyboard from Absolute Scratch
21:52
Christian Selig
Рет қаралды 268 М.
I Made Sorting Algorithms Race Each Other
8:24
Green Code
Рет қаралды 81 М.
Osu!'s Biggest Cheater Was Finally Caught
20:36
Karl Jobst
Рет қаралды 1,2 МЛН
Oh... I mean... Hmmmmmmm...
8:27
Phoenix SC
Рет қаралды 696 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 3,5 МЛН
BEKMOBILDA Tecno Camon 30 smartfoni🔥🤩 #bekmobil
1:01
Bekmobil shorts
Рет қаралды 2,3 МЛН