Creating An AI To DESTROY Fruit Ninja

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 532

  • @TylerMommsen
    @TylerMommsen  4 місяці тому +339

    Sorry it's late guys, but here is the code if you're interested github.com/TylerMommsen/fruit-ninja-bot

    • @justjuniorjaw
      @justjuniorjaw 4 місяці тому +8

      Image Recognition?
      Dog. Pig. Dog. Pig. Dog. Pig.
      Loaf of Bread. SYSTEM ERROR!

    • @goat_yllw
      @goat_yllw 4 місяці тому +1

      @@justjuniorjaww mitchels vs the machines reference

    • @rainbowman4723
      @rainbowman4723 4 місяці тому +3

      do you think it would be possible to make this for mobile?

    • @CustomGameing
      @CustomGameing 3 місяці тому

      ​@@rainbowman4723nha i thik mobile software need different codes(I think)

    • @AceOrS
      @AceOrS 3 місяці тому

      ​@@rainbowman4723yes

  • @CuriosityIgnited
    @CuriosityIgnited 4 місяці тому +3066

    Just spent 10 minutes convincing myself that watching an AI play Fruit Ninja is the productive break I needed. Can confirm: still procrastinating.

    • @hamzamotara4304
      @hamzamotara4304 4 місяці тому +15

      Psst. Stop procrastinating. Go do it.

    • @UsManosMAC
      @UsManosMAC 4 місяці тому +28

      Not procrastinating, just doing side-quests

    • @Vo_tex
      @Vo_tex 4 місяці тому +5

      i am doing the same thing

    • @whifle1445
      @whifle1445 4 місяці тому +3

      Doing the same

    • @wesleyneff5510
      @wesleyneff5510 4 місяці тому +3

      Same

  • @DavidKassa
    @DavidKassa 4 місяці тому +4333

    I’m kinda disappointed that the AI didn’t absolutely obliterate the pomegranates

    • @fizzlanderr
      @fizzlanderr 4 місяці тому +488

      yeah seeing it get like 100+ slices would have been cooler

    • @Mikustan39
      @Mikustan39 4 місяці тому +45

      Same here. Might just not be good enough unfortunately.

    • @zincalloycopper2
      @zincalloycopper2 4 місяці тому +156

      Sword draw, first form: death by a thousand cuts

    • @KJ.420
      @KJ.420 4 місяці тому +150

      It would've been even cooler if it also went for combos as well, but it's just an algorithm that looks for given images and doesn't really know the game strategies, so maybe I'm expecting too much from it.

    • @dadoul9905
      @dadoul9905 4 місяці тому +34

      get a better cpu and you'll get better pomegranates

  • @mingamerking
    @mingamerking 4 місяці тому +917

    I think allowing it to recognize how to combo fruits would make this even better, Ike have it wait before slicing and if multiple fruits are on the screen it does one big slice

    • @gameplaysuffering1620
      @gameplaysuffering1620 4 місяці тому +57

      yeah but that would add like 2 to 5 years to dev time

    • @justascreamingcat2964
      @justascreamingcat2964 4 місяці тому +68

      ​@@gameplaysuffering162099% of that time being procrastination

    • @justenoughrandomness8989
      @justenoughrandomness8989 4 місяці тому

      yeah

    • @dillzilla4454
      @dillzilla4454 4 місяці тому +17

      i got one even better, make a simple bot slice where there is motion with the bombs being a no-go zone determined by image recognition. this means it is only looking for one item, allowing it to be quick and confident in its determination, allows it to pretty easily do combos, and makes it much more responsive when slicing the fruits

    • @Ace-isket
      @Ace-isket 2 місяці тому

      @@dillzilla4454it’ll trap itself on the movement of the slice it makes though

  • @GwnTim1
    @GwnTim1 4 місяці тому +611

    I love how the AI was 95% certain that the bomb was a bomb, and as soon as it hit the bomb it plummited to 80% like the AI said "nuh-uh, that wasn't a bomb THAT WAS NOT A BOMB!"

    • @morphe904
      @morphe904 4 місяці тому +87

      I‘m guessing that the bomb as it was exploding, was looking less and less like the bombs the AI was trained to recognize

    • @greenguyd
      @greenguyd Місяць тому +7

      stage 1 of grief: denial

  • @theradomguy5581
    @theradomguy5581 4 місяці тому +289

    Big props for making an Ai on the orginal game! Happy to see that rather then a recreation of it

    • @elliott6158
      @elliott6158 4 місяці тому +15

      I feel like the recreation is just as cool

    • @elliott6158
      @elliott6158 4 місяці тому +27

      it shows off more fundamental ML concepts rather than "I imported an image recognition library :B"

    • @slouch186
      @slouch186 4 місяці тому +6

      ​@@elliott6158agreed. i much prefer ML stuff when the AI has access to the data behind the game rather than just recognizing screenshots

  • @anonym5160
    @anonym5160 4 місяці тому +2452

    No fruits are being harmed in the making of this video.

    • @ika32
      @ika32 4 місяці тому +59

      more like no bombs

    • @2haep
      @2haep 4 місяці тому +14

      he probably ate one during it

    • @hamzamotara4304
      @hamzamotara4304 4 місяці тому +37

      No, fruits were harmed in the making of this video.

    • @mr_pigman1013
      @mr_pigman1013 4 місяці тому +9

      Liar liar pants on fire

    • @Randomname-yb7hs
      @Randomname-yb7hs 4 місяці тому +6

      Except for the ones that were

  • @ryforg
    @ryforg 4 місяці тому +301

    1:43 that’s why captchas have you identify common things found on streets. You are training their self driving car ai.

    • @nastykerb34
      @nastykerb34 2 місяці тому +2

      Rhen why are the images fuzzy, would that result in a shotty AI?

    • @ryforg
      @ryforg 2 місяці тому +9

      @ they started with easier images but are slowly getting harder to closer represent the real world environments the ai would actually see. If you can understand the blurry images it teaches ai to understand blurry images.

    • @reanimationxp
      @reanimationxp 2 місяці тому +2

      @@nastykerb34 first of all this isn't true. the captcha images have already been recognized otherwise the captcha wouldn't work. however let's say it were true, training on fuzzy images would likely mean when it has more clarity in real life, it's just that much more accurate. however, items are often far away or in poor lighting conditions, so there's a good chance it could be for the purpose of better training on objects that are just far away.

    • @johannesbohm6458
      @johannesbohm6458 Місяць тому +2

      @@reanimationxp I just saw an interview with one of the devs behind Captcha the other day and the images shown in the Captchas are actually not pre-recognized. They are shown to a bunch of people at the same time and the majority decides if something is a certain thing or not. Otherwise this would require a lot of work and would heavily limit the amount of available pictures, thereby reducing security...

    • @sosig6445
      @sosig6445 Місяць тому

      @@johannesbohm6458 but if the picture is new and there is no consensus on it yet how does the captcha recognise if you are correct?

  • @weetikveelpik-wq5bx
    @weetikveelpik-wq5bx 4 місяці тому +90

    0:39 amazing, well said

  • @HitSpaceGD
    @HitSpaceGD 4 місяці тому +725

    If the AI sliced the menu fruit (🍉 = play again), it could keep training for hours.

    • @jmvr
      @jmvr 4 місяці тому +189

      Well, it's not training when it's running, so all you're doing is making it play forever, without it being trained on anything.
      Maybe a modification to it to make the current AI model train a new one while it plays would be cool, but wouldn't be necessary, because this isn't meant to be a perfect AI

    • @gaymerjerry
      @gaymerjerry 4 місяці тому +55

      this ai is just the photo recognition if you want it to learn to play the game better youd need a neural network thats fed the image recognition ai data as an input

    • @modzyy
      @modzyy 4 місяці тому +3

      ​@@jmvrit takes more pictures while its running which can be used for training later on, this is common sense.

    • @jmvr
      @jmvr 4 місяці тому +16

      @@modzyy key word: _can_ be. It's not currently made to train a new AI. All it does is take a screenshot, analyze it, and do some input. Then the screenshot may as well be discarded, because it does not use the image further.
      As well, AIs are trained at a specific point in the process, but aren't trained further. For example, ChatGPT will not get better when people use it, and neither will most AI models. Typically when an AI trains itself, it gets worse. By definition, the day it doesn't is the day of the AI singularity, where it can improve itself into infinity

    • @modzyy
      @modzyy 4 місяці тому +1

      @@jmvr yap yap yap

  • @GemedetAdept
    @GemedetAdept 4 місяці тому +132

    If you think about it, YOLO (c. end of the world, 2012) and YOLO (object recognition) are really the same thing: You'll find out *very* quickly that You Only Live Once if You Only Look Once while crossing the road!

    • @DanielLCarrier
      @DanielLCarrier 4 місяці тому +9

      Unless anime was right and you find out that you live at least twice.

    • @windy5405
      @windy5405 4 місяці тому +6

      @@DanielLCarrieronly work if it’s a truck with its headlight open

    • @locrianphantom3547
      @locrianphantom3547 4 місяці тому +4

      @@windy5405Or a tractor going 2 mph.

    • @akarihoshizoraonk
      @akarihoshizoraonk 4 місяці тому +1

      ​@locrianphantom3547 no not Kazuma.

    • @iresineherb7
      @iresineherb7 4 місяці тому

      Man that 2012 was awkward

  • @mohammedalhammadi3547
    @mohammedalhammadi3547 3 місяці тому +6

    3:18 You know bro's been taken by the Terminator when he called the AI "His"

  • @Solrex_the_Sun_King
    @Solrex_the_Sun_King 4 місяці тому +51

    Now teach an AI to play feed the deep.

  • @kabii
    @kabii 4 місяці тому +8

    i would love to see an updated version of the ai, doing fruit combos
    because atm it slices each fruit individually
    it would be so satisfying if it would do the best slicing combos possible

  • @clivah1499
    @clivah1499 4 місяці тому +52

    some time ago, they needed pigeons to do this.

  • @samstromberg5593
    @samstromberg5593 4 місяці тому +10

    This channel is the most perfect example I have ever encountered of a Blue Ocean
    Besides maybe the Wright Brothers

  • @sunofabeach9424
    @sunofabeach9424 3 місяці тому +8

    python is simple to created an image recognition AI with, but it is so slow that by the time it has finished processing the image the results are already outdated. this pretty much sums up this whole situation where the most performance dependent tasks are solved with one of the slowest languages out there

    • @ahdog8
      @ahdog8 3 місяці тому +3

      Generally, doing image recognition in Python involves making calls to some library that is actually written in C (or a similar, actually fast language). As a result, relatively little time is spent in Python-land which mitigates the slowness of the language.
      I don't know what the code used in the video looks like. There could be a bunch of complicated Python code that slows it down. Or maybe it's not Python's fault at all.

    • @sunofabeach9424
      @sunofabeach9424 3 місяці тому +1

      @@ahdog8 I know that Python libraries utilize C, however, the overhead that Python introduces is still too much even for complied C code

  • @gregoryk4365
    @gregoryk4365 4 місяці тому +111

    So painful seeing him do all this when he could've just had something search the specific pixel color of the fruit/bombs to slice them instead of training a whole ai to recognize fruit

    • @blizyon30fps86
      @blizyon30fps86 4 місяці тому +5

      Exactly

    • @sakshambaranwal132
      @sakshambaranwal132 4 місяці тому +63

      I am guessing that if he did that then the ai would proceed to again cut the fruits which have already been sliced

    • @Mostsanewriomain
      @Mostsanewriomain 4 місяці тому +10

      @@sakshambaranwal132I can totally imagine the AI doing that

  • @solodemon8465
    @solodemon8465 3 місяці тому +16

    8:00 Mangoes have as much vitamin C as oranges

  • @server642
    @server642 3 місяці тому +4

    Trajectory prediction would be wicked to see! Especially in the case of avoiding a slice if a bomb will intercept. And couple that with what I’ve seen others say: getting combos by slicing multiple fruit in one motion. If it can predict the best time to get combos based on the trajectories, I’d love to see how high a score it can really get 😈

  • @oldscooljoe6194
    @oldscooljoe6194 4 місяці тому +60

    Why arent you remaking the game

  • @DANIDANI310
    @DANIDANI310 3 місяці тому +1

    In the same way you can teach AI to recognize an enemy soldier and an ally and make it shoot in less than a second. AI is becoming scary .

    • @blubaylon
      @blubaylon 2 місяці тому

      Well yeah, that's how classification algorithms work lol

  • @LazyMonkey24
    @LazyMonkey24 Місяць тому

    It’s nice to see someone using yolo correctly, my college final project was trying to use yolo on wav files of audio recordings to find bird calls. It was not a good idea.

  • @musictomyshears
    @musictomyshears 4 місяці тому +5

    It would be interesting to try a roguelike - pixel dungeon/shattered pixel dungeon is FOSS, and I haven't seen anyone do anything like it.
    You'd have a variety of skills the AI would have to learn: fight mechanics, resource management, item mechanics and selection, synergies etc. You'd probably choose just one class, and since it's FOSS, if it's too complex you could easily tone it down by reducing items, making it set seed, making item generation deterministic, just doing one floor etc (but it'd be a hell of a video to do the whole game haha but maybe there's a reason no one's done it before).

  • @GameJam230
    @GameJam230 4 місяці тому +11

    I’m not sure how feasible it would have been to decompile the game and get the models for the fruit and bombs, but if those are obtainable then would it not have been easier to train the AI using screenshots of those models rotated programmatically?
    Then, instead of searching the entire screen space for fruit, you only need to look in areas with a significant amount of pixels changed between consecutive frames, as these locations have either a fruit or bomb in them. However, if it’s a fruit, then you don’t actually care WHICH fruit it is, you cut it regardless. You ONLY need to care about whether or not it’s a bomb, and so when screen pixels change in an area, check the surrounding region for a bomb. If a bomb is not found, cut, otherwise avoid.
    It should be noted too that this approach would likely have issues with areas where bombs and fruit overlap, but that can be dealt with. This approach could ALSO be done without the decompiled models at all, instead only providing the model with gameplay screenshots of bombs and fruit overlapping bombs. By providing the AI with these images, it alerts it NOT to cut them, but if it DOESN’T see matches for that data, it DOES cut whenever it sees changed pixels.
    The main efficiency of this comes from not needing to run image recognition for each individual fruit, and also not running image recognition checks over the whole screen constantly, but instead only in surrounding regions where changed pixels are when those changes occur.

  • @Jallahruud
    @Jallahruud 4 місяці тому

    Your channel is gonna blow up dude this is really high quality and entertaining content. Keep it up!

  • @DaCourtJester
    @DaCourtJester 25 днів тому +3

    bro record a 1 hour long video of this and add it to any reddit ai voice video

  • @arthurkaramazov8932
    @arthurkaramazov8932 4 місяці тому +3

    Amazing video, thanks! Can't believe you have only ~7k subscribers. 🔥

  • @ForbiddenKriss
    @ForbiddenKriss 4 місяці тому +1

    You could make a system of hierarchies, where the AI ​​cuts the least important fruits first and then the most important ones, this way you could avoid cases where it cuts the pomegranate fruit, losing the other fruits.

  • @vee8710
    @vee8710 3 дні тому +1

    If fruit () :
    Slice()
    Easy bro

  • @Punch_Card
    @Punch_Card 4 місяці тому +3

    wake up babe Tyler just uploaded a new video

  • @LKZToroh
    @LKZToroh Місяць тому

    I had to label images before for yolo except that my images was like 200 cows in a huge picture times 1k similar pictures and god, that is the worst thing possible. So I respect your effort in labeling these images by yourself.

  • @vikovitch
    @vikovitch Місяць тому

    instead of slicing around with a katana, which is what i imagine normal gameplay has behind the camera, the AI is just a crazy bastard dual wielding 2 european style medieval swords and stabbing them like crazy

  • @En3vity0
    @En3vity0 4 місяці тому +2

    3:24 the voices- they won’t stop…

  • @HSonyoutube
    @HSonyoutube 3 місяці тому

    Here's another challenge for you. Try hitting combos. Basically you've got to track the motion of all fruits by taking continuous screenshots. By that you can make predictions on when a bunch on fruits might be closest to one another. And make a hit. And hit individual fruits only when those are at the end of downward motion

  • @Pavlov-shack
    @Pavlov-shack 3 місяці тому

    It was pitch black in my room watching this a inch away from my face it felt like a real flash bang

  • @Johnny31323
    @Johnny31323 4 місяці тому +40

    A pixel search algorithm would've been faster, via color indexing.
    All fruits have one solid color, so having a simple hex variation of lets say (green) for an apple 🍏 would be way faster and probably even better to find all the fruits.
    Same goes for the bomb since it is a solid black color, so the AI never would try to attack it within a solid square hit box on screen.

    • @HappyMajor
      @HappyMajor 4 місяці тому +1

      that wouldnt work with bombs you need to use the red outline for them to get their actual hitbox
      the rest is fine as is tho if u wanna go fancy u can go with outline detection or just as u said a simple HSV range for each fruit
      #edit
      another problem would be the already sliced fruits since they have the same color

    • @lekkobot
      @lekkobot 4 місяці тому +67

      I feel like that might cause issues with the ai going after splatter.

    • @HitSpaceGD
      @HitSpaceGD 4 місяці тому

      ​@@lekkobotWhen the reply has more likes than the original comment:

    • @-CENSORED0-
      @-CENSORED0- 4 місяці тому +10

      @@HitSpaceGDthat’s called a ratio young one

    • @HitSpaceGD
      @HitSpaceGD 4 місяці тому +1

      @@-CENSORED0- thanks for enlightening me 👍

  • @nguyenhoangkhiem7569
    @nguyenhoangkhiem7569 21 день тому

    Bro just created Sukuna AI, well made video.

  • @nostew1604
    @nostew1604 3 місяці тому

    throw the gameplay into after effect -> use motion tracking -> render sequence of image -> label into seperate folder and auto rename
    much more easy way to do the labeling task

  • @Nobody-tw8wf
    @Nobody-tw8wf Місяць тому

    Dude you are a genius🙏🙏🙏
    Love the effort you put in each video ❤❤❤

  • @purpleplasma4824
    @purpleplasma4824 11 днів тому

    Patchy the Pirate: "That's it?"

  • @pablovasconcelos9394
    @pablovasconcelos9394 13 днів тому +1

    How do you make this? 🤯
    Its amazing!!
    Do you play the Fruit Ninja at a emulator? 2:59
    And, what is this app that you use for create rotules? 3:41

  • @shaynegoldstein1329
    @shaynegoldstein1329 4 місяці тому +1

    i think just using color to find everything that isnt a bomb would be faster. the red and black on the bomb look unique.

  • @aleksanderwalenciej
    @aleksanderwalenciej 3 місяці тому

    You could’ve tried first idea of image recognition but with checking only for range of colors. And the fruits would have a specific range of it. When you would make it small for each fruit it could’ve worked

  • @kogames3191
    @kogames3191 4 місяці тому

    absolutley amazing video and also very educational, nice man

  • @KoonKlausGamer
    @KoonKlausGamer 3 місяці тому

    2:15 respect this job

  • @XX-ot4pb
    @XX-ot4pb 2 місяці тому

    Hi, I love your channel! I would say it is the best channel for game AIs, I love your videos.
    I am wondering what tool you use to train the YOLOS; thanks!

  • @Label_sabke_niklenge
    @Label_sabke_niklenge 3 місяці тому

    Loved your hardwork ❤❤😂

  • @pawansapkota3970
    @pawansapkota3970 4 місяці тому

    Yes using the predicitons from the previous models and reannotating is the best option for the faster finetunning of the model.

  • @josephholman2401
    @josephholman2401 4 місяці тому

    If you wanted to improve the ai, you only need 3 frames and some calculus to predict the exact trajectory of the fruit meaning you'd be able to slice every fruit on the 4th frame that it's on screen

  • @martinkoblitz1285
    @martinkoblitz1285 4 місяці тому

    it would have been so much cooler if the ai would have learned to slice more then 1 fruit at a time but still a really cool vid man keep up the good work! : )

  • @mathew6041
    @mathew6041 4 місяці тому +4

    1:58 lies, i have done this, but did absolutely nothing with it :)

  • @joselopes9061
    @joselopes9061 4 місяці тому +10

    Idk if it is only me, but here: 5:40 you could have put only the AI Vision or 20 seconds one 20 seconds another. The both at the same time are weird.

    • @SasamuelTheCool
      @SasamuelTheCool 4 місяці тому +8

      Vision issue

    • @Not_A_Lazy_Dev
      @Not_A_Lazy_Dev 4 місяці тому +3

      @@SasamuelTheCool maybe brainrot isn't that bad, maybe the attention span of a goldfish isnt that bad ...
      MAYBE FAMILY GUY, SUBWAY SURFERS, MINECRAFT PARKOUR AND ROCKET LEAGUE CLIPS ALONG WITH THE ACTUAL VID AT THE SAME TIME ISN'T THAT BA-

    • @BlankyB4
      @BlankyB4 3 місяці тому

      Who gonna tell bro 😭🙏

  • @plsdont7515
    @plsdont7515 2 місяці тому +1

    I would’ve just “cut” the center of the area that popped up that didn’t match the backgrounds

  • @HùngNguyễn-z8z7v
    @HùngNguyễn-z8z7v 3 місяці тому +1

    May be another way of approaching this problem is using the AI to detech the colors instead of the fruit themselves?
    Because the background color is distinctive.

  • @call_me_ondreo
    @call_me_ondreo 4 місяці тому

    You can easily increase your model speed if you use lower screenshot resolution (not a game resolution), then turn image black and white, then use color contrast to make objects looks clear. And also, check to click on fruit little bit away from bomb.

  • @whatevenisazero
    @whatevenisazero 4 місяці тому +1

    We got fruit ninja aim bot before GTA VI

  • @mac2857
    @mac2857 2 місяці тому +1

    2:12 You don't actually, you can just use a clustering algorithm that can group all the similar objects together which you can then label

  • @ContentWrld1
    @ContentWrld1 4 місяці тому +2

    should’ve made it insane at the part where it combos

  • @Mazeop69
    @Mazeop69 4 місяці тому

    0:39 That was a little to personal 💀

  • @noah2718
    @noah2718 4 місяці тому

    This video is the exact amount of time it takes me to eat a Totino's pepperoni party pizza.

  • @Me-0063
    @Me-0063 4 місяці тому

    Great video! I would suggest adding combos

  • @Poonda-ju8xe
    @Poonda-ju8xe 4 місяці тому +1

    I love Yolo Ai. Amazing for digital surveillance and AI cheating in games like Counter Strike. What an amazingly versatile piece of software.

  • @bloom_the_artist
    @bloom_the_artist 4 місяці тому

    Now you need a genetic algorithm model

  • @jamieehoover3132
    @jamieehoover3132 4 місяці тому

    omgg you’re only 9k subs ?! you deserve way more

  • @DEVY69420
    @DEVY69420 4 місяці тому

    now i want you to make an ai that can solve captcha

  • @mayzar8646
    @mayzar8646 2 місяці тому

    Cool it’s another UA-camr that is underrated and has good content (:

  • @ninjaride1312
    @ninjaride1312 4 місяці тому

    Making it not hit the bomb should had been easy enough

  • @gg-gn3re
    @gg-gn3re 4 місяці тому

    0:55 you use spiral detection from center and dynamic bitmap or just color tolerances. It'd take several thousand times less processing power and work about the same. Things like simba have made this very easy for decades

    • @peterchristensen8843
      @peterchristensen8843 4 місяці тому

      Color ID won't work well since the fruits splatter after being sliced, meaning your AI would continue slicing fruit juices long after the fruits were sliced.

    • @gg-gn3re
      @gg-gn3re 4 місяці тому

      @@peterchristensen8843 that isn't ai

  • @achilles7498
    @achilles7498 3 місяці тому

    Ai's worst enemy, pomegranates.

  • @TheLazyCowboy1
    @TheLazyCowboy1 2 місяці тому

    Now feed the recognized images (x,y,w,h,type,confidence) to a neural network and see how well it can learn to play. Maybe it would even learn combos!

  • @unclesamsonite-y3k
    @unclesamsonite-y3k 4 місяці тому +1

    bros ai: if its green or blue or yellow then its a fruit but if its BLACK THEN ITS A BOMB

    • @akio.69
      @akio.69 3 місяці тому

      Me with yellow and green bomb.😈

  • @whatsaname2usern
    @whatsaname2usern 4 місяці тому

    grandma's gonna be happy with this one

  • @therealbrofist7943
    @therealbrofist7943 3 місяці тому

    Is this what computer science majors be doing?😭 I regret it now

  • @redhood-n2v
    @redhood-n2v 3 місяці тому

    Man I am so dumb I thought the normal version was the run where he reached 488

  • @amrazaq
    @amrazaq 2 місяці тому

    Make it beat the world record next.

  • @iPxter
    @iPxter 4 місяці тому +3

    What program did you use for the labelling of the objects at 2:16?

  • @Thatdudebro0
    @Thatdudebro0 3 місяці тому +1

    Bro you chose the most complex way, all what it needed was an image recognition only for the bomb and for other moving objects
    And an if statement
    If object != bomb
    Slice

    • @blubaylon
      @blubaylon 2 місяці тому

      How would the AI be able to tell that fruits are on the screen?

  • @Andhira.Faldhi
    @Andhira.Faldhi 2 місяці тому

    I think it's gonna sick if you train the ai to play FNAF, what it can be if you put the AI on custom night on 20/20 😂

  • @BebziBaba
    @BebziBaba Місяць тому

    bro is dani 2.0
    keep up the good work bro

  • @castleofwonders1
    @castleofwonders1 4 місяці тому

    You're doing a great job in content creation.... 🎉

  • @TsSC_unofficial
    @TsSC_unofficial 4 місяці тому +23

    1:16 r35 spotted

  • @AxoTheAxolotl707
    @AxoTheAxolotl707 2 місяці тому +2

    I accidently scrolled too far7:50

  • @cloudyskies-exe
    @cloudyskies-exe 2 місяці тому

    Couldnt you have done some color detection? The fruits are all unique colors you could've taken a 500x500 image for example of where the color is and gotten the fruit labeling data that way? Just a thought idk.

  • @DaviMineBoy-7862
    @DaviMineBoy-7862 2 місяці тому

    3:24, FISH🐟

  • @dudical111
    @dudical111 4 місяці тому

    I would love to see what happens when you train the ai on as low a resolution as you can go on the golden fruit level. I wanna see it obliterate them, dude.

  • @T110-E5
    @T110-E5 4 місяці тому

    Way too underrated channel ❤

  • @mloopy461
    @mloopy461 4 місяці тому

    I feel like fruit ninja is on everything nowadays 💀

  • @R4in46
    @R4in46 4 місяці тому

    You could probably sell this to all of the 8years old around the world

  • @poohritkun5068
    @poohritkun5068 4 місяці тому

    Now this is a real AI. Finally!!

  • @xx__miqu__xx3812
    @xx__miqu__xx3812 4 місяці тому

    its happening, rise of the machines and fall of the humankind. skynet starts here

    • @blubaylon
      @blubaylon 2 місяці тому

      These image recognition models have been around for a while lol

  • @dillzilla4454
    @dillzilla4454 4 місяці тому

    there is a significantly faster way of doing this which is looking for clusters of pixels that have changed and only using the AI to detect the bombs to make sure those are in blocked off zones for the motion detection

    • @blubaylon
      @blubaylon 2 місяці тому

      But then what would stop the AI from continuing to try to slice the fruits even after they've already been sliced

  • @crimsonpheonix4609
    @crimsonpheonix4609 4 місяці тому +1

    The ai isnt even getting combo slices either

  • @leek5682
    @leek5682 3 місяці тому

    As a kid I actually managed to get over 1000 one time. I think I retired from fruit ninja at that point

  • @scorpionhdkid8972
    @scorpionhdkid8972 4 місяці тому

    The AI has not seen Arcade mode.
    Oh boy..

  • @GD_Abomination
    @GD_Abomination 4 місяці тому +1

    You could have used a second screenshot to predict the movement of the fruits allowing for a single slice per fruit rather than spamming for each one.

    • @Yesbutnoimnot
      @Yesbutnoimnot 4 місяці тому +3

      Overall that would make the ai slower because it has to take 1 SS, process it, take a second, process it and then calculate the exact velocity of the fruit then compare how the "gravity" affects the loss of momentum.

    • @CoolDude-mq8dh
      @CoolDude-mq8dh 4 місяці тому +2

      @@Yesbutnoimnotso many idiots in the newest replies lol
      you are right

    • @Yesbutnoimnot
      @Yesbutnoimnot 4 місяці тому

      @@CoolDude-mq8dh lol the only reason I bothered replying to them was because I code and it's painful watching things like this

  • @vyom9470
    @vyom9470 Місяць тому

    What if you labeled the bombs in ai and programmed it to cut everything except the bomb, that would reduce the dataset.

  • @andrzejostrowski5579
    @andrzejostrowski5579 Місяць тому

    Not sure which version of YOLO you used, but v4 and v5 was scaling every image down to a VERY low res, like 300x300-ish, so screen resolution shouldn’t matter too much. Unless rescaling the image takes so much of your machine resources for some reason. From a quick google search I see that v8 scales image down to 640x640, but that’s just the first result that I see, and I’m too lazy to catch up on YOLO development.

  • @jbsthegamer
    @jbsthegamer 4 місяці тому

    my personal best in that mode is closely around 800
    is what happens when you have over 2 years of fruit ninja gameplay

  • @R2Bl3nd
    @R2Bl3nd 3 місяці тому

    You could've scaled down the screenshots to a much smaller size before feeding that to the AI.