Using Image Recognition to DESTROY Fruit Ninja

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 423

  • @CodeNoodles
    @CodeNoodles  9 месяцев назад +84

    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 8 месяцев назад +3

      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.

  • @lukeseaman2994
    @lukeseaman2994 8 месяцев назад +1390

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

    • @CodeNoodles
      @CodeNoodles  8 месяцев назад +78

      Thanks, that makes me feel better 😆

    • @IntrovertSinceBirth
      @IntrovertSinceBirth 7 месяцев назад +2

      Programming also makes mistakes like humans do?!

    • @Dusti_buns
      @Dusti_buns 7 месяцев назад

      ​@@CodeNoodlesGreat video. I loved it

  • @gaco577
    @gaco577 8 месяцев назад +5139

    if object = bomb
    is bad
    else
    is good

    • @CodeNoodles
      @CodeNoodles  8 месяцев назад +868

      Basically

    • @icommitdie8756
      @icommitdie8756 8 месяцев назад +67

      if only it was this easy

    • @IgsihziysPleazure
      @IgsihziysPleazure 8 месяцев назад +165

      That looks like something from scratch.

    • @Cyby124
      @Cyby124 8 месяцев назад +246

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

    • @Duckless137
      @Duckless137 8 месяцев назад

      ==*

  • @johnsimpsen5
    @johnsimpsen5 9 месяцев назад +972

    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 8 месяцев назад +177

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

    • @dylanherrera5395
      @dylanherrera5395 8 месяцев назад +98

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

    • @advance64bro
      @advance64bro 8 месяцев назад +18

      The program does what’s efficient

    • @TheStolenBattenberg
      @TheStolenBattenberg 8 месяцев назад

      @@advance64broit uses python…

    • @inakiorozco881
      @inakiorozco881 7 месяцев назад +12

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

  • @zobiah1
    @zobiah1 8 месяцев назад +154

    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 7 месяцев назад +7

      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 6 месяцев назад

      @@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
    @ryans3979 8 месяцев назад +115

    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.

    • @drakonlegend4452
      @drakonlegend4452 6 месяцев назад +11

      This man codes!!

    • @arlo232
      @arlo232 3 месяца назад

      Wow , that's a good idea

  • @rockinggamerdude
    @rockinggamerdude 9 месяцев назад +555

    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 9 месяцев назад +23

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

    • @advance64bro
      @advance64bro 8 месяцев назад +15

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

    • @mateuszpragnacy8327
      @mateuszpragnacy8327 8 месяцев назад +23

      @@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 7 месяцев назад

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

    • @ethanperry8
      @ethanperry8 6 месяцев назад

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

  • @cvabds
    @cvabds 9 месяцев назад +379

    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 8 месяцев назад +40

      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 8 месяцев назад +4

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

    • @ilovecoffee4978
      @ilovecoffee4978 7 месяцев назад +2

      ​@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 7 месяцев назад

      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 7 месяцев назад

      how would you detect moving pixels

  • @sbd2639
    @sbd2639 9 месяцев назад +156

    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 8 месяцев назад +4

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

    • @sbd2639
      @sbd2639 8 месяцев назад +29

      @@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 8 месяцев назад

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

    • @sbd2639
      @sbd2639 8 месяцев назад

      ​@@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 8 месяцев назад +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
    @McTuber42 9 месяцев назад +97

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

  • @SuadoCowboy
    @SuadoCowboy 9 месяцев назад +378

    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- 9 месяцев назад +10

      IF ONLY

    • @advance64bro
      @advance64bro 8 месяцев назад +16

      Dude, do you not know how hard that is

    • @SuadoCowboy
      @SuadoCowboy 8 месяцев назад +52

      @@advance64bro do you?

    • @advance64bro
      @advance64bro 8 месяцев назад +2

      @@SuadoCowboy yes

    • @SuadoCowboy
      @SuadoCowboy 8 месяцев назад +85

      @@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?

  • @ODISeth
    @ODISeth 9 месяцев назад +84

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

  • @-ShoeCat
    @-ShoeCat 9 месяцев назад +57

    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  9 месяцев назад +18

      That's impressive!

    • @-ShoeCat
      @-ShoeCat 9 месяцев назад +5

      @@CodeNoodles thanks

  • @gummybread
    @gummybread 9 месяцев назад +48

    8:37 8:59
    *RUUUUULES OF NAAAATURE*

    • @lingeprune2373
      @lingeprune2373 8 месяцев назад

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

  • @affegpus4195
    @affegpus4195 8 месяцев назад +7

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

  • @ElementEvilTeam
    @ElementEvilTeam 7 месяцев назад +125

    would've been useful 14 years ago

  • @shadow_blader192
    @shadow_blader192 9 месяцев назад +2598

    You are writing functions without space between them 😭

    • @Trevorus1
      @Trevorus1 9 месяцев назад +115

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

    • @aaronking2020
      @aaronking2020 9 месяцев назад +81

      ​@@Trevorus1 mini sentry meets big thing

    • @trystankitty5393
      @trystankitty5393 9 месяцев назад +24

      @@aaronking2020why

    • @totallyreyalfactsfsfs
      @totallyreyalfactsfsfs 9 месяцев назад +77

      ​@@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 8 месяцев назад +48

      is bro's argument invalidated by deranged pfp?

  • @JamesTDG
    @JamesTDG 8 месяцев назад +6

    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.

  • @ShockedTaiLung
    @ShockedTaiLung 9 месяцев назад +86

    Aw yeah it’s noodling time

    • @TVDemonstro
      @TVDemonstro 9 месяцев назад +5

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

    • @GreatDynamics
      @GreatDynamics 8 месяцев назад +1

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

  • @vitatreat9037
    @vitatreat9037 9 месяцев назад +27

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

    • @CodeNoodles
      @CodeNoodles  9 месяцев назад +5

      Thanks, I really appreciate it!

    • @TheCBBCChannel
      @TheCBBCChannel Месяц назад

      Hi, I have almost a thousand subscribers ​@@CodeNoodles

  • @CarlosRoxo
    @CarlosRoxo 8 месяцев назад +10

    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 7 месяцев назад

      Exactly what i thought

    • @juliusblomgreen
      @juliusblomgreen 7 месяцев назад

      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

  • @mrrager757
    @mrrager757 6 месяцев назад +1

    “A small delay that has been adddded” too good 😂 4:57

  • @darsh19961
    @darsh19961 6 месяцев назад +2

    This is brilliant thanks for sharing your thought process and code. absolutely loved this

    • @CodeNoodles
      @CodeNoodles  6 месяцев назад +1

      Thanks, it really means a lot!

  • @redandblue1013
    @redandblue1013 6 месяцев назад +1

    There is a lot of room for improvement. Assuming it could identify fast enough, the most reliable approach could be to use a machine learning algorithm to categorise objects on screen.
    Then we would want to implement an algorithm to try to score combos
    And also, implement some delays to make it less jittery and add functionality to avoid trajectories that overlap with a bomb

  • @mrcooltree3566
    @mrcooltree3566 8 месяцев назад +4

    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

  • @L_tlu
    @L_tlu 8 месяцев назад +2

    1:44 me: just use machine learning

  • @wChris_
    @wChris_ 8 месяцев назад +9

    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.

    • @adalar42
      @adalar42 6 месяцев назад

      Exactly

  • @linkmastr
    @linkmastr 8 месяцев назад +1

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

  • @Mossy_Dahlia
    @Mossy_Dahlia 8 месяцев назад +1

    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?

  • @skmiraj1549
    @skmiraj1549 7 месяцев назад +3

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

  • @Jayrenzyx
    @Jayrenzyx 8 месяцев назад +3

    I gotta admit that segue was clean

  • @real1cytv
    @real1cytv 7 месяцев назад +1

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

  • @fadlanal-amsi9839
    @fadlanal-amsi9839 8 месяцев назад

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

  • @AlexTsaava
    @AlexTsaava Месяц назад

    How did you make that rectangle on the screen right at the coordinates of where there’s a fruit/bomb???

  • @KirbyCoder
    @KirbyCoder 9 месяцев назад +5

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

  • @I_am_Itay
    @I_am_Itay 9 месяцев назад +2

    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 8 месяцев назад

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

    • @I_am_Itay
      @I_am_Itay 8 месяцев назад

      @@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 8 месяцев назад

      @@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 8 месяцев назад +1

      @@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

  • @navoddakshina-b8s
    @navoddakshina-b8s 6 месяцев назад +1

    Can you bring a video of how to make an auto clicker for the Bloom game(air drop)

  • @mateuszpragnacy8327
    @mateuszpragnacy8327 9 месяцев назад +1

    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

  • @jordancrouse714
    @jordancrouse714 9 месяцев назад +3

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

  • @Mehbem
    @Mehbem 7 месяцев назад +1

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

  • @ExploringNew1
    @ExploringNew1 7 месяцев назад +1

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

    • @CodeNoodles
      @CodeNoodles  7 месяцев назад +1

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

  • @dr.computertech404
    @dr.computertech404 7 месяцев назад +1

    Any thing for clash of clans
    Bcz I have 18 acc and now it's hard to manage

  • @racingfarmer053
    @racingfarmer053 8 месяцев назад

    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

  • @thomassherif7797
    @thomassherif7797 6 месяцев назад +1

    Great job, tried it on my PC! Seems that the algorithm likes you more than me, but impressive nonetheless!

  • @Bodoczky
    @Bodoczky 7 месяцев назад +1

    That Temple of Nadia soundtrack hits hard ❤

  • @SleepyV3rt
    @SleepyV3rt 7 месяцев назад

    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.

  • @gdclemo
    @gdclemo 8 месяцев назад

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

  • @kelvinluk9121
    @kelvinluk9121 7 месяцев назад +1

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

  • @qbert4325
    @qbert4325 6 месяцев назад

    It's super cool to watch.

  • @harkiratsingh3967
    @harkiratsingh3967 7 месяцев назад

    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

  • @godofall332
    @godofall332 7 месяцев назад

    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 😊.

  • @never_dre
    @never_dre 7 месяцев назад +1

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

  • @notchpoodles5864
    @notchpoodles5864 7 месяцев назад

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

  • @icommitdie8756
    @icommitdie8756 8 месяцев назад

    if this is the version of fruit ninja I think it is, try having it play on its own for a while and then get the Cloud Kicker blade. if you get enough duplicates of that weapon you could upgrade it such that all fruits have a guaranteed chance to bounce off the bottom on the screen one time for extra time. that would prevent it from missing fruits like it did with that Watermelon

  • @yanglightheart
    @yanglightheart 8 месяцев назад +1

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

  • @rbbr08
    @rbbr08 7 месяцев назад +1

    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.

  • @TheDMan2003
    @TheDMan2003 Месяц назад

    Not bad, but it could be better. For example, the combo system. Slicing three or more fruit at once gives a combo that gives a bonus equal to the amount of fruit sliced (eg, a 4 Combo gives a bonus of 4). If you could figure out a way to chain the fruits together into one slice, while still checking for the bombs, that should work. Now, I know that’s easier said than done, but it’s just a thought.

  • @midtech168
    @midtech168 8 месяцев назад +2

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

  • @nasirgrant4271
    @nasirgrant4271 7 месяцев назад

    Never thought I would see TAS for Fruit Ninja

  • @M0gicus
    @M0gicus 7 месяцев назад

    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)

  • @niji4894
    @niji4894 7 месяцев назад

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

  • @reign9595
    @reign9595 7 месяцев назад +1

    Video starts at 7:55

  • @GamingCoderzX
    @GamingCoderzX 5 месяцев назад

    You could use object detection models like YOLOv8 or YOLOv5 for fast detection.

  • @snorresrstrnen9391
    @snorresrstrnen9391 6 месяцев назад

    You should look into classification theory. What you are using is basicly a Euclidean distance cluster classifier.

  • @lonelyPorterCH
    @lonelyPorterCH 8 месяцев назад +1

    Has been a long while since I played this^^

  • @angelfire9622
    @angelfire9622 9 месяцев назад +2

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

    • @bachoulekikoune
      @bachoulekikoune 8 месяцев назад

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

  • @ramadhanisme7
    @ramadhanisme7 7 месяцев назад +1

    The chopping is unreal 🤣🤣

  • @spykidsa8336
    @spykidsa8336 8 месяцев назад +1

    Hello fellow code bullet fan 😊

  • @cosmilitebar6772
    @cosmilitebar6772 8 месяцев назад

    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 8 месяцев назад +1

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

  • @danygeo7365
    @danygeo7365 7 месяцев назад +1

    Best thing in the video was this at 8:37 :) (joking great job u did👏)

  • @usptact
    @usptact 7 месяцев назад

    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.

  • @Bostumo
    @Bostumo 6 месяцев назад

    PLEASE I'M BEGGING YOU I NEED TO KNOW WHAT 2:45 MUSIC IS I REMEMBER IT FROM MY CHILDHOOD BUT CAN'T PUT MY FINGER ON IT, THE MUSIC SECTION DOESNT SAY ANYTHING!

  • @feffy380
    @feffy380 8 месяцев назад

    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

  • @elicooper5233
    @elicooper5233 8 месяцев назад +1

    we need code bullet to do this

  • @krischarles4326
    @krischarles4326 7 месяцев назад +1

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

  • @fishygaming2554
    @fishygaming2554 8 месяцев назад +2

    One of the best games.

  • @cinnamonsugarcourtney6073
    @cinnamonsugarcourtney6073 9 месяцев назад +1

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

  • @ExplosiveGames
    @ExplosiveGames 9 месяцев назад +2

    Nice, super cool bro

  • @ahslanabanana
    @ahslanabanana 7 месяцев назад +1

    your naming convention in Python should be illegal

  • @ontoya1
    @ontoya1 8 месяцев назад

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

  • @lolnt6103
    @lolnt6103 9 месяцев назад +2

    3:47 is that a gd reference

    • @king_ian_yt
      @king_ian_yt 9 месяцев назад

      its coincidence

    • @lolnt6103
      @lolnt6103 9 месяцев назад +1

      @@king_ian_ytwoah really, i could never have guessed it was a coincidence!!!!111!!!!11!

  • @shadow_blader192
    @shadow_blader192 9 месяцев назад +7

    Using image recognition to destroy life

    • @CornbreadFish
      @CornbreadFish 8 месяцев назад +1

      Going on a treasure hunt to find all of your comments and like them rn

    • @CornbreadFish
      @CornbreadFish 8 месяцев назад +2

      Oh wait there’s only two

    • @shadow_blader192
      @shadow_blader192 8 месяцев назад +1

      @@CornbreadFish yes

  • @konothomasda7430
    @konothomasda7430 7 месяцев назад

    Maybe implementing sound extraction might help?

  • @ranarehanqaisar2266
    @ranarehanqaisar2266 7 месяцев назад +1

    Bro is going to be a genius one day.

    • @ReapersRed
      @ReapersRed 6 месяцев назад

      Geniuses are born not developed. Nature bestows geniuses with the ability to comprehend what others cannot.

    • @ranarehanqaisar2266
      @ranarehanqaisar2266 6 месяцев назад

      @@ReapersRed Buddy if you think that then just read the life of Thomas Edison. That will give you the answer

    • @ReapersRed
      @ReapersRed 6 месяцев назад

      @@ranarehanqaisar2266 Thomas Edison was definitely not a genius. Also it signals low iq so hard when you say stuff like "read this and it will give you the answer." Why not just tell me the answer instead of wasting my time trying to get me to read? Is it because you feign intellecualism by your supposed reading? Just think about this if you have the mental faculties to understand what I mean

  • @makxs4818
    @makxs4818 8 месяцев назад

    what is the font You use on 0:16

    • @Catier1
      @Catier1 3 месяца назад +1

      Sans franico
      Thank me later

  • @strawsEXE
    @strawsEXE 9 месяцев назад +1

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

  • @Fishnugget45
    @Fishnugget45 8 месяцев назад

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

  • @danveverita3077
    @danveverita3077 8 месяцев назад +6

    The edges of the bomb is always red, you could yes that as an identifier

  • @collincatmull1369
    @collincatmull1369 9 месяцев назад +1

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

    • @CodeNoodles
      @CodeNoodles  9 месяцев назад

      Thanks!

    • @collincatmull1369
      @collincatmull1369 8 месяцев назад

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

  • @pierpaolopinna6301
    @pierpaolopinna6301 8 месяцев назад

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

  • @GimmeMyHandleBack
    @GimmeMyHandleBack 9 месяцев назад

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

  • @jasonorjoshlee7607
    @jasonorjoshlee7607 8 месяцев назад +1

    The bot even got a 5 fruit combo😮

  • @Plocoze
    @Plocoze 8 месяцев назад

    4:59 "have a small delay that is ad🥁🥁🥁🥁"

  • @_choru5_912
    @_choru5_912 6 месяцев назад

    Next time train a YOLO model on a few hundred labeled images, it's a LOT easier, and will run much faster. Expect 30-120+ frames per second processed, based on your GPU.

  • @silver2797
    @silver2797 8 месяцев назад

    your fruit killing skills are remarkable

  • @AuraAcorn
    @AuraAcorn 7 месяцев назад

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

  • @shivanshmathur
    @shivanshmathur 7 месяцев назад

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

  • @lukraniom8731
    @lukraniom8731 7 месяцев назад

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

  • @robertstevensii4018
    @robertstevensii4018 9 месяцев назад

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

  • @АзаматханАрифханов
    @АзаматханАрифханов 7 месяцев назад +1

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