Using Image Recognition to DESTROY Fruit Ninja

Ғылым және технология

To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles/. You’ll also get 20% off an annual premium subscription.
This project has been a long time in the making. I set out last year to automate Fruit Ninja with image recognition, but I ran into a couple of road blocks along the way. But luckily, this year I decided to try it again, and it worked out fantastically to say the least!
This video was sponsored by Brilliant
LINKS
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Support the channel: ko-fi.com/codenoodles
Itch.io: codenoodles.itch.io/
GitHub: github.com/OfficialCodeNoodles
MUSIC
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Shoutout to @qumumusic for making wonderful remixes of some of my favorite video game songs! Check out their channel if you haven't already!
• The Legend of Zelda - ...
Roboskater by Audionautix is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Investigations by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
█▀ █ █ █▄▄ █▀ █▀▀ █▀█ █ █▄▄ █▀▀
▄█ █▄█ █▄█ ▄█ █▄▄ █▀▄ █ █▄█ ██▄

Пікірлер: 381

  • @CodeNoodles
    @CodeNoodles2 ай бұрын

    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/CodeNoodles/. You’ll also get 20% off an annual premium subscription.

  • @deltadeltagrand2842

    @deltadeltagrand2842

    Ай бұрын

    I feel like something that could improve it is if you had the code specifically look for any black spots that would mark a Bomb and label areas around them as dangerous, that could help the code avoid bombs as well as make sure it doesn’t try to hit fruits too close to bombs. I would also make it so that it doesn’t scan too close to the bottom of the screen as a bomb could come up right after or at the same time as a fruit and get hit.

  • @gaco577
    @gaco5772 ай бұрын

    if object = bomb is bad else is good

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    Basically

  • @catWithFunkyFace

    @catWithFunkyFace

    Ай бұрын

    if only it was this easy

  • @IgsihziysPleazure

    @IgsihziysPleazure

    Ай бұрын

    That looks like something from scratch.

  • @cybi124

    @cybi124

    Ай бұрын

    if (object = bomb) { donttouch } else{ destory }

  • @Duckless137

    @Duckless137

    Ай бұрын

    ==*

  • @lukeseaman2994
    @lukeseaman2994Ай бұрын

    The somewhat unoptimized nature of the program gives it a lot of personality and comedic value 10/10

  • @CodeNoodles

    @CodeNoodles

    Ай бұрын

    Thanks, that makes me feel better 😆

  • @IntrovertSinceBirth

    @IntrovertSinceBirth

    20 күн бұрын

    Programming also makes mistakes like humans do?!

  • @Dusti_buns

    @Dusti_buns

    15 күн бұрын

    ​@@CodeNoodlesGreat video. I loved it

  • @johnsimpsen5
    @johnsimpsen52 ай бұрын

    It would be cool if the program waited a while before the fruits were on screen and then calculate how many there are. If there are more than one, it tries to slice them in one go instead of a bunch of slices.

  • @Rjciralli

    @Rjciralli

    2 ай бұрын

    I can already imagine that constantly catching bombs in the big slices

  • @dylanherrera5395

    @dylanherrera5395

    2 ай бұрын

    ​@@Rjciralliperhaps a pathfinding algorithm to avoid the bombs, although this might be too slow

  • @advance64bro

    @advance64bro

    2 ай бұрын

    The program does what’s efficient

  • @TheStolenBattenberg

    @TheStolenBattenberg

    Ай бұрын

    @@advance64broit uses python…

  • @inakiorozco881

    @inakiorozco881

    Ай бұрын

    @@advance64bro the program does what is designed to do, It can be efficent with fewer slides if its designed that way

  • @rockinggamerdude
    @rockinggamerdude2 ай бұрын

    The problem I see is it doesn’t wait for all the fruit to make sure to get a combo for a points bonus

  • @mateuszpragnacy8327

    @mateuszpragnacy8327

    2 ай бұрын

    IT is possible to train ai that way just Smart genetic algorithm or other

  • @advance64bro

    @advance64bro

    2 ай бұрын

    It doesn’t even know how the game works, it’s a program that does what is told

  • @mateuszpragnacy8327

    @mateuszpragnacy8327

    2 ай бұрын

    @@advance64bro yes but no. You can train it just genetic algorithm and train 10 ai at time and ai with biggest score replicates like natural selection and there is a chance that ai learns to mąkę a combo

  • @Cozumii

    @Cozumii

    Ай бұрын

    Isn’t that lost score made up by how many critical it gets?

  • @ethanperry8

    @ethanperry8

    5 күн бұрын

    @@mateuszpragnacy8327that would take a long ass time and processing though

  • @shadow_blader192
    @shadow_blader1922 ай бұрын

    You are writing functions without space between them 😭

  • @Trevorus1

    @Trevorus1

    2 ай бұрын

    May I ask what’s happening in your profile picture with the mimi sentry?

  • @aaronking2020

    @aaronking2020

    2 ай бұрын

    ​@@Trevorus1 mini sentry meets big thing

  • @trystankitty5393

    @trystankitty5393

    2 ай бұрын

    @@aaronking2020why

  • @romancatholicgameing

    @romancatholicgameing

    2 ай бұрын

    ​@@Trevorus1 It takes someone with experience to recognize that pfp's image and what happened in it... I don't know if I should be horrified or impressed.

  • @letter_o_hyphen_letter_o

    @letter_o_hyphen_letter_o

    2 ай бұрын

    is bro's argument invalidated by deranged pfp?

  • @zobiah6263
    @zobiah6263Ай бұрын

    This feels like a strong candidate for reinforcement learning imo. Just give it the average color values you have already collected, a reward function based off the in-game score system (obviously make bombs a high negative), and watch it go.

  • @4_real_bruh

    @4_real_bruh

    27 күн бұрын

    Could also just use a single convolution operation with a filter of 7x7 since the bombs always have a minimum size, then compute the average of the colors as he did and if its not white or black, slice the fruit by going 10 pixels in either direction from the pixel

  • @soothingstationW

    @soothingstationW

    3 күн бұрын

    @@4_real_bruh Yeah i had the same idea. I thought about going by size as well. He could add this on top of the color to prevent more false positives.

  • @ryans3979
    @ryans39792 ай бұрын

    Being somebody who works in the computer vision field, I feel like it would've been simpler for you to convert the image to HSV, take the value (lightness) channel, and then binarize the image by checking if it's less than a certain threshold. From there you can see how many connected pixels there are, and if there are more than say 1000 black pixels, its a bomb.

  • @ElementEvilTeam
    @ElementEvilTeam17 күн бұрын

    would've been useful 14 years ago

  • @cvabds
    @cvabds2 ай бұрын

    This could be better optimized if you didn't based it on color recognition but actually on moving pixels on the grid you created. Based on that principle, you should need to only recognize the black color of the bomb, everything shouldn't be biased on only color. I saw it bug on the background splashed fruit some times

  • @ryans3979

    @ryans3979

    2 ай бұрын

    This would add a small delay because he'd always be one frame behind (need to take the current frame and subtract the previous frame pixels that didn't move), but I do agree that the optimization would probably speed it up enough to be worthwhile. He should also not be processing the full RGB image, especially because he's in python, that's obviously going to be slow. Turning it into a grayscale or HSV (lightness channel) 2D array and doing some sort of processing to check for the darkest pixels would definitely be faster.

  • @cvabds

    @cvabds

    Ай бұрын

    @@ryans3979 nice! Thanks for the input! That makes sense!

  • @ilovecoffee4978

    @ilovecoffee4978

    Ай бұрын

    ​@ryans3979 could he not make it identify the position and type in one frame, wait like 3 frames, and then identify the same objects position for average velocity, then swipe afterwards based on delay?

  • @madhuchowdary8826

    @madhuchowdary8826

    21 күн бұрын

    Wont that be pretty hard, as the program needs to calculate a path to slice, a path which does not include any bombs in between

  • @emanuelemanzoni5191

    @emanuelemanzoni5191

    16 күн бұрын

    how would you detect moving pixels

  • @sbd2639
    @sbd26392 ай бұрын

    I have made a program in python to automatically complete tasks in among us and wrote code for almost all tasks for the first map. I faced the same problem in some tasks ( like clean vent, clear asteroids etc) where the image recognition would not work properly due to random rotations of the sprites on screen. Your solution to the problem might be perfect in my program and I am gonna try that soon. It might be even better suited since there is even less chance of false positives ( which was caused by the splattering of the fruits on the wall in fruit ninja ).

  • @TheFurry

    @TheFurry

    2 ай бұрын

    awesome project! Are you going to do a video on it?

  • @sbd2639

    @sbd2639

    2 ай бұрын

    @@TheFurry ​nah probably not. I just made it because my USB mouse broke and using laptop's mousepad was very annoying. If you are interested, I could give you the code but since I made it just for me, I didn't take the screen resolution into consideration, so it only works on the monitor with the exact resolution of 1920x1080.

  • @HarshWeave9487

    @HarshWeave9487

    2 ай бұрын

    Interesting.... Would you mind if I could see the code? If you can share the link, I would be grateful.

  • @sbd2639

    @sbd2639

    2 ай бұрын

    ​@@HarshWeave9487 This is my first time using github so sorry if there is any mistakes.. Also, since I just made it for me, almost every pixel coordinate is hardcoded so there are just random numbers everywhere. If you have any questions, you can just ask here, I am online pretty regularly.

  • @sbd2639

    @sbd2639

    2 ай бұрын

    ​@@HarshWeave9487 I commented the link here but I think it got deleted by youtube. Are there any other way to share the link???

  • @McTuber42
    @McTuber422 ай бұрын

    The rhythm of the slicing syncs surprisingly well with the music after 8:25

  • @-ShoeCat
    @-ShoeCat2 ай бұрын

    i haven’t heard about this game in a long time, when i saw this, it reminded me about how i got around 1390 while playing this in a daycare

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    That's impressive!

  • @-ShoeCat

    @-ShoeCat

    2 ай бұрын

    @@CodeNoodles thanks

  • @gummybread
    @gummybread2 ай бұрын

    8:37 8:59 *RUUUUULES OF NAAAATURE*

  • @lingeprune2373

    @lingeprune2373

    Ай бұрын

    yeah it's swinging at the speed of raiden crackhead mode

  • @SuadoCowboy
    @SuadoCowboy2 ай бұрын

    why don't you just instead check if it's a bomb or not? as far as i know the bomb is the most different from them and by only checking the bomb you could optimize this code alot and then you only pass the mouse on things that are on movement except the recognized(s) bomb(s) maybe you could even try using grayscale images or something idk

  • @melody-v-

    @melody-v-

    2 ай бұрын

    IF ONLY

  • @advance64bro

    @advance64bro

    2 ай бұрын

    Dude, do you not know how hard that is

  • @SuadoCowboy

    @SuadoCowboy

    2 ай бұрын

    @@advance64bro do you?

  • @advance64bro

    @advance64bro

    2 ай бұрын

    @@SuadoCowboy yes

  • @SuadoCowboy

    @SuadoCowboy

    2 ай бұрын

    @@advance64bro and don't you think it's worse checking each type of fruit instead of just checking if it's a bomb or not?

  • @ShockedTaiLung
    @ShockedTaiLung2 ай бұрын

    Aw yeah it’s noodling time

  • @TVDemonstro

    @TVDemonstro

    2 ай бұрын

    Loved the part where he said "noodling time" and noodled all over the place

  • @GreatDynamics

    @GreatDynamics

    Ай бұрын

    I also loved the part where he said "noodling time" and noodled all over the place

  • @affegpus4195
    @affegpus4195Ай бұрын

    The color recognition is a clever idea. The fact it is fast it can be used in combination with other methods for increasing accuracy

  • @ODISeth
    @ODISeth2 ай бұрын

    Oh wow you've been at this one for quite some time, excited to see how it turned out!

  • @trystankitty5393

    @trystankitty5393

    2 ай бұрын

    Hi

  • @ODISeth

    @ODISeth

    2 ай бұрын

    @@trystankitty5393 hi?

  • @trystankitty5393

    @trystankitty5393

    2 ай бұрын

    @@ODISeth hi?

  • @ODISeth

    @ODISeth

    2 ай бұрын

    @@trystankitty5393 you replied to me lol

  • @trystankitty5393

    @trystankitty5393

    2 ай бұрын

    @@ODISeth nope

  • @JamesTDG
    @JamesTDGАй бұрын

    I feel like this system could be expanded more if used right. Like for example, if the system detects high red pixel counts in a region, have it take a screenshot and use image recognition to see if it can detect a red arc at around 75% completion, use an or function with it so it can also check the image for an X. If either result comes true, it will determine the region to be dangerous for the next x-amount of frames. Should help improve the system by a bit, and even can use fewer resources if it is able to know the danger region before doing the bomb check.

  • @fadlanal-amsi9839
    @fadlanal-amsi98392 ай бұрын

    Its magical to see a fresh half brick games content these days

  • @wChris_
    @wChris_Ай бұрын

    I thought you would use image recognition with a neural net for object detection, but maybe that could be v2 if you ever want to do that again.

  • @vitatreat9037
    @vitatreat90372 ай бұрын

    I feel honoured to get this video on my feed. This video made me excited for sure 👍

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    Thanks, I really appreciate it!

  • @Jayrenzyx
    @JayrenzyxАй бұрын

    I gotta admit that segue was clean

  • @linkmastr
    @linkmastrАй бұрын

    2:50 nice explanation of kernels in an image recognition model

  • @skmiraj1549
    @skmiraj154922 күн бұрын

    I don't know what is going on but I love it

  • @CarlosRoxo
    @CarlosRoxo2 ай бұрын

    You can try using something like a yolo network for the fruit recognition. Most recent models run very fast with a medium capacity gpu and are pretty accurate

  • @ofridaniel2127

    @ofridaniel2127

    17 күн бұрын

    Exactly what i thought

  • @juliusblomgreen

    @juliusblomgreen

    12 күн бұрын

    I'm trying to do this right now. My problem is the slicing function. I can't seem to make the mouse fast enough. I'd like to see how he did that

  • @KirbyCoder
    @KirbyCoder2 ай бұрын

    Now I wonder what it’d be like to train an AI to play this game

  • @Mehbem
    @Mehbem13 күн бұрын

    Bro being a student working on segmenting quantum dots with dog noise this is so relatable 😭

  • @mateuszpragnacy8327
    @mateuszpragnacy83272 ай бұрын

    You can lower the screenshot resolution so network can have whole screen as input and train it if game is laggy while training just make game run slower

  • @gdclemo
    @gdclemo2 ай бұрын

    Very good. Next project: build a robot arm with a samurai sword that chops up fruit you throw at it (but not bombs)

  • @Mossy_Dahlia
    @Mossy_Dahlia2 ай бұрын

    I’m not too savvy on machine learning, but would it be possible to extract the UV maps from the fruit and use that to differentiate them from the bombs? The UV map has their whole texture so would it be possible to use that to understand and recognize a fruit at all angles?

  • @yanglightheart
    @yanglightheartАй бұрын

    Now that's an actual fruit ninja, my personal best is 694 though... in the arcade mode.

  • @nasirgrant4271
    @nasirgrant427118 күн бұрын

    Never thought I would see TAS for Fruit Ninja

  • @midtech168
    @midtech168Ай бұрын

    If I had this back in 2011 I would have seen so popular in school lol

  • @harkiratsingh3967
    @harkiratsingh396717 күн бұрын

    It made me remember a scene from tge dark forest where the droplet is destryoing the the space fleet , its drscribed as God 's scribbling as the droplet is ramming objects taking sharp turns which are zero in accordance to our aerodynamics

  • @ramadhanisme7
    @ramadhanisme7Ай бұрын

    The chopping is unreal 🤣🤣

  • @Bodoczky
    @Bodoczky8 күн бұрын

    That Temple of Nadia soundtrack hits hard ❤

  • @never_dre
    @never_dre10 күн бұрын

    The music 😮 it took me a minute to understand that something was sooo familiar here!

  • @equalent
    @equalentАй бұрын

    your naming convention in Python should be illegal

  • @Ramzi65ok
    @Ramzi65okАй бұрын

    Combos would be so cool

  • @jordancrouse714
    @jordancrouse7142 ай бұрын

    Yay! Excited to see you post 🥰 only place I'm interested in code 😂

  • @notchpoodles5864
    @notchpoodles586422 күн бұрын

    0:45 I️ remember this from CodeBullet (an angry Australian man who also programs robots to play games for him)

  • @ranarehanqaisar2266
    @ranarehanqaisar226617 күн бұрын

    Bro is going to be a genius one day.

  • @krischarles4326
    @krischarles432617 күн бұрын

    How is your IDE not SCREAMING at you…? PyCharm would be kicking in my door at the first lack of whitespace 😅

  • @cinnamonsugarcourtney6073
    @cinnamonsugarcourtney60732 ай бұрын

    Oh hey, I was wondering why you didn't just use color averages at the beginning, looks like you figured it out though! :3

  • @silver2797
    @silver2797Ай бұрын

    your fruit killing skills are remarkable

  • @SleepyV3rt
    @SleepyV3rt15 күн бұрын

    Nice program. Had you considered using the indexed version of screenshots, might improve the accuracy. Also maybe look into the YOLO model, it's open source and pretty good with image recognition.

  • @jasonorjoshlee7607
    @jasonorjoshlee7607Ай бұрын

    The bot even got a 5 fruit combo😮

  • @kelvinluk9121
    @kelvinluk912119 күн бұрын

    Would it be easier and more accurate to fine tune an image segmentation model for this task?

  • @collincatmull1369
    @collincatmull13692 ай бұрын

    Code noodling time :) I always have loved your videos.

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    Thanks!

  • @collincatmull1369

    @collincatmull1369

    2 ай бұрын

    @@CodeNoodles Wow, Ive never had a youtuber near this popular even get close to talking to me. Thanks :)

  • @I_am_Itay
    @I_am_Itay2 ай бұрын

    I think it would be fun to optimize it, here is sime idea that would maybe improve it- Waiting with slicing and calculating where each object is not just frame by frame so it would include the speed, direction, where the object would get in the next frames and I think it would give better accuracy + would give the compatibility to plan combos with smooth slices instead of just spamming

  • @advance64bro

    @advance64bro

    2 ай бұрын

    It does what is efficient, don’t be that harsh just because you’re dissatisfied

  • @I_am_Itay

    @I_am_Itay

    2 ай бұрын

    @@advance64bro I am not harsh, I really like it and the video and I just want to add suggestions so maybe he would do another video and improve it or to inspire someone else who interested in this for example I started building my own version to this bot

  • @advance64bro

    @advance64bro

    2 ай бұрын

    @@I_am_Itay doing something like that would have to make the fruit identifying program to be more complex which you already saw was really hard to do

  • @I_am_Itay

    @I_am_Itay

    2 ай бұрын

    @@advance64bro Of course it would be a bit more complex but it's well within the capabilities of code noodles, he did much harder things. The preprocessing he did would really help, it would be more work on how the bot play than on the identification

  • @memeboi6913
    @memeboi69132 ай бұрын

    Finally, the first Fruit Ninja TAHS (Tool Assisted High Score)

  • @elicooper5233
    @elicooper5233Ай бұрын

    we need code bullet to do this

  • @GimmeMyHandleBack
    @GimmeMyHandleBack2 ай бұрын

    Could you edit the color mixing program to favor black more heavily than other colors? That should help with the bomb identification

  • @cosmilitebar6772
    @cosmilitebar6772Ай бұрын

    For screenshots i tent to use mss library, its much faster than pyautoguis screenshot method. Maybe you could do a v2 with machine learning, yolo 5 or really any version of it would probably perform much more accurate. And also extremly fast as that stuff runs on the gpu. Nice Video, its cool to see games being automated.

  • @cruncyart

    @cruncyart

    Ай бұрын

    bro update your profile picture that's an extremely old cosmilite sprite

  • @AuraAcorn
    @AuraAcorn11 күн бұрын

    Final program wasn't a fruit ninja, it was a fruit samurai

  • @ontoya1
    @ontoya12 ай бұрын

    You should tag the dude that created Fruit Ninja, he's on KZread!

  • @racingfarmer053
    @racingfarmer053Ай бұрын

    Would it be possible to code it so if it detects any black on am object at all to steer clear of it. It not because of other dark spots on the background and such

  • @user-js4xl7pw7l
    @user-js4xl7pw7lАй бұрын

    You can change the background, your blade color and splashes on the dojo in Srttings, as well as try to instantly revoke any area containing black pixels or i dunno, just (if any of this place in a screenshot has black bad No black Good, slice)

  • @feffy380
    @feffy380Ай бұрын

    I'm thinking the color sampling code could have been massively simplified by just scaling the image down, which is a highly optimized operation in most image processing libraries

  • @ExplosiveGames
    @ExplosiveGames2 ай бұрын

    Nice, super cool bro

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    Thanks!

  • @konothomasda7430
    @konothomasda7430Ай бұрын

    Maybe implementing sound extraction might help?

  • @niji4894
    @niji489419 күн бұрын

    The most real part in this video. 5:20 the naming

  • @robertstevensii4018
    @robertstevensii40182 ай бұрын

    7:55 watch the left side of the screen and imagine a very angry Beatrix Kiddo

  • @piercegames4577
    @piercegames45772 ай бұрын

    even in the image that had a blur effect I could tell you were using Visual Studio and Python

  • @pierpaolopinna6301
    @pierpaolopinna6301Ай бұрын

    considering an impunt based on 2 succesful screenshot (instead of 1) would make the program too slow? good job thought, nice project

  • @lukraniom8731
    @lukraniom873118 күн бұрын

    You could also just hold your finger in one spot and if a fruit passes by it it splits

  • @L_tlu
    @L_tluАй бұрын

    1:44 me: just use machine learning

  • @shivanshmathur
    @shivanshmathur15 күн бұрын

    Wait, is that bgm from the old Pokemon game?? Feels like remnants from a core memory

  • @lonelyPorterCH
    @lonelyPorterCHАй бұрын

    Has been a long while since I played this^^

  • @Happy_Koopa_boi
    @Happy_Koopa_boiАй бұрын

    You should do an image recognition thing but for suika game

  • @paradoxcorporated2906
    @paradoxcorporated29062 ай бұрын

    Bro is code bullet 2.0

  • @ThegreatLynix
    @ThegreatLynixАй бұрын

    Now,Do it with snake eating fruit game 😈

  • @mrcooltree3566
    @mrcooltree35662 ай бұрын

    Why not have the ai focus on the background color and bomb color and when thag color is over the screen it does not attack there? Sure you couldn’t get combos but I think theoretically it would work easier faster and longer since instead of picking out a fruit it is just picking out a difference in what is normally there

  • @Noah-gz8qm
    @Noah-gz8qm2 ай бұрын

    nice job

  • @noahnash7265
    @noahnash7265Ай бұрын

    Would there be a way to remove the fruit juice in the background to make it perform better?

  • @charlierogers98
    @charlierogers9816 күн бұрын

    Make a bot to destroy Candy Crush and win every level without doing any single micro-transaction.

  • @real1cytv
    @real1cytvАй бұрын

    5:23 this code is my absolute nightmare... Why didn't you put newlines inbetween the functions but put them around the while loop?

  • @inciampare9083
    @inciampare9083Ай бұрын

    8:27 funny green splatter

  • @ExploringNew1
    @ExploringNew1Ай бұрын

    How did you get a video of what the program sees?

  • @CodeNoodles

    @CodeNoodles

    Ай бұрын

    I wrote some code to create a video file where I could draw objects on top of the image to display information.

  • @strawsEXE
    @strawsEXE2 ай бұрын

    Can you make a video about using image recognition to get the best possible scores on the human benchmark website?

  • @CodeNoodles

    @CodeNoodles

    2 ай бұрын

    That's a good idea!

  • @angelfire9622
    @angelfire96222 ай бұрын

    if you have a good enough pc you could have used YOLO for object recognition and have a better accuracy more easly

  • @bachoulekikoune

    @bachoulekikoune

    2 ай бұрын

    yes, small yolo models can even run on crappy pcs pretty well

  • @fishygaming2554
    @fishygaming2554Ай бұрын

    One of the best games.

  • @salvadormilanesbraniff3511
    @salvadormilanesbraniff35112 ай бұрын

    That second song and the fact I recognize where it from 💀

  • @SmokeyyYT

    @SmokeyyYT

    Ай бұрын

    it sounds so familiar but cant remember from where

  • @wewuwewu
    @wewuwewu29 күн бұрын

    fruit ninja says "G太ME OVER"

  • @usptact
    @usptact28 күн бұрын

    You can try to use computer vision algorithms for object detection to detect and track objects. Look into detectors like SIFT for example. Warning: it’s a DEEP rabbit hole.

  • @lynxiegrande
    @lynxiegrande17 күн бұрын

    keep up the good work 👍🏻

  • @nicolasanderson4146
    @nicolasanderson41462 ай бұрын

    On the topic of older games, imagine coding for jetpack joyride...

  • @user-fh3wg8oj6q
    @user-fh3wg8oj6qАй бұрын

    Indeed, there is no need in ML. Pixelperfect analysis is enough

  • @godofall332
    @godofall33216 күн бұрын

    Can we use Ultralytics YOLOv8 for this? I understand the processing time would increase, and it would need some program optimizations (what you did at 6:11), but it might be able to avoid bombs completely, making it better at play. Creating a dataset for this is easier than normal; let me know your take on this. By the way a great video, it helped knowing how you approached this problem from a problem-solving point of view 😊.

  • @user-px2we6di1w
    @user-px2we6di1w18 күн бұрын

    using A* pathfinding can be good choice for finding the right path for the mouse

  • @InverseCh
    @InverseCh2 ай бұрын

    should add an extra check for that red color to see if theirs any black in its vicinity - and if so.. don't go clicking there.

  • @makxs4818
    @makxs4818Ай бұрын

    what is the font You use on 0:16

  • @Ty-Jack
    @Ty-Jack2 ай бұрын

    0:50 did that reaIIy have to make that 2 steps.

  • @some_guy1990
    @some_guy1990Ай бұрын

    Toriel got stuck in the dummy room

  • @EvaleAxolotl
    @EvaleAxolotlАй бұрын

    Fruit ninja my beloved

  • @rbbr08
    @rbbr0824 күн бұрын

    Bro, just use deep learning. If you want it to be fast you can use some mobilenet network along with some rpn detection heads... Faster R-CNN or something like that. Like a 2 stage network.

  • @user-kz8ut4mc8m
    @user-kz8ut4mc8mАй бұрын

    Why did a programmer not come up primarily with the idea to identify fruits by color , but i did? Maaaan i feel so smart :3

  • @ghb323
    @ghb323Ай бұрын

    so the secret difficulty mode is AUTOMATING the gameplay

  • @crepeobreak8219
    @crepeobreak82192 ай бұрын

    2:18 Hawaii part ii Joe Hawley from Tally Hall reference !?!??!

Келесі