Building an Advanced AI Basketball Referee

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

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

  • @PretendThatImBad
    @PretendThatImBad Год назад +30

    Here before the NBA hires you

  • @stevenalrefai5924
    @stevenalrefai5924 Год назад +13

    Damn really high quality editing and clean explanation. Great job!

  • @vikramkrishnan6414
    @vikramkrishnan6414 Год назад +4

    Nice work dude. Congrats from another Ramblin' Wreck.

  • @dmennenoh
    @dmennenoh Год назад +7

    Tutorial on building this would be amazing. Or even just building anything. Great video, thanks.

    • @AyushPai
      @AyushPai  Год назад +1

      Maybe in the future!

  • @technius1926
    @technius1926 Год назад +3

    Another way to get into the NBA

  • @TomHutchinson5
    @TomHutchinson5 Год назад +1

    Great work! People are really engaged and excited by what you've done. Keep building it out and you'll land a great job when you graduate.

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

    Yoo this is a 🔥🔥🔥🔥. Can’t wait to see the next version ‼️

  • @aquaboyfa
    @aquaboyfa Год назад +6

    Well done!

  • @Enskkc
    @Enskkc Год назад +2

    Great work, congrats!

  • @daanishmehra8182
    @daanishmehra8182 Год назад

    Solving the biggest problem in the sport that I love. This is really amazing and inspiring. Would love to get in touch with you!

  • @alverofathir
    @alverofathir Год назад +4

    this is the VAR of basketball

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

    Mec tu es un génie! Tu m'as devancer good job!

  • @COOLSAUCE21
    @COOLSAUCE21 Год назад +7

    A few loopholes I've seen...
    When it comes to travels, will it call travel if I shuffle my feet quickly between two dribbles? (More than 2 steps without a dribble in between). Players sometimes do that to explode past defenders / confuse them. And its legal since the dribble is live.
    And the double dribble... If we do a quick hand off, will it not call double dribble? It's illegal, but you aren't having your hands on the ball for too long.
    Apart from that, excellent job! Seriously consider going to shark tank with this

    • @AyushPai
      @AyushPai  Год назад +8

      Some of the more intricate details of travels and double dribbles have not been taken into account in this version. In the next version, I will take these into account to create a more precise model!

  • @SaiNaru-wc5vu
    @SaiNaru-wc5vu Год назад +6

    Yo this so cool! I have been messing around with pose estimation lately using Media Pipe. Been thinking about making a shot predictor kind like from 2K, but I have to look into it

    • @AyushPai
      @AyushPai  Год назад +4

      Nice! Reach out if you want to talk.

    • @SaiNaru-wc5vu
      @SaiNaru-wc5vu Год назад +1

      @@AyushPai For sure!

  • @khoanguyen1679
    @khoanguyen1679 Год назад +1

    You are genius sir!!

  • @andreas.soderlund
    @andreas.soderlund Год назад

    Stumbled in here from reddit, very interesting to see how you did this!

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

    the nba and nfl desperately need this. Invest Billions Now!

  • @WarMastaP
    @WarMastaP Год назад +1

    LETS GOOOOO!!!
    The hardest will be foul.

  • @the_runofff
    @the_runofff Год назад

    awesome video! great work

  • @kynoch7056
    @kynoch7056 Год назад +2

    This is so cool

  • @camswainson-whaanga2750
    @camswainson-whaanga2750 4 месяца назад

    How is 3.0 coming along? Our sport needs this. So many parents disgruntled with bad reffing.

  • @johnnyBrwn
    @johnnyBrwn Год назад

    High stats NBA MVPs been really quiet since this dropped.

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

    Also palming the basketball is also my biggest annoyance.

  • @jplanzz
    @jplanzz Год назад

    bro is a genius and nice at ball

  • @neverninetofive
    @neverninetofive Год назад +2

    Great work! Could you share what hyperparameters you used?

  • @ILB
    @ILB Год назад +5

    I’d love to chat with you! This is fascinating

    • @AyushPai
      @AyushPai  Год назад +1

      Sure! Email me at ayushpai@gatech.edu and let’s get a call setup :)

  • @highwizard6764
    @highwizard6764 Год назад +2

    Ehh, fans will still cry if the AI call didn't favor their team

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

    Have you looked at how to use a tool like this to record fouls?

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

    The biggest reason i dont watch the NBA is because the abuse of travelling. If and when this is implemented this will bring back a ton of fans.

  • @abcthegreat1
    @abcthegreat1 Год назад +2

    This is epic

  • @ryozurie
    @ryozurie Год назад

    Can help me for issue : ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 32.

  • @SuperCookiemonsterzz
    @SuperCookiemonsterzz Год назад +1

    impressive!

  • @AshSimmonds
    @AshSimmonds Год назад +3

    Sweet - I'm doing similar for cricket, not this advanced yet though.

  • @yousafmehmet
    @yousafmehmet Год назад

    Do you have a tutorial that others can follow? Thanks in advance.

  • @mcbublick
    @mcbublick 10 месяцев назад

    its tricky. lets look at 1:05 . its ok to take 2 steps after gathering the ball. what is what he did. so this is not travelling actually

  • @vibhavagrawal9893
    @vibhavagrawal9893 Год назад

    Amazing project! I love how you’ve combined multiple simple image detection algos to form a model which has a vast scope!
    I did have a question. If I received the ball as a pass from someone that would count as a “hold” and then started dribbling would that show up as a double dribble?

    • @AyushPai
      @AyushPai  Год назад +1

      Thank you! It shouldn’t count as a double dribble because your dribble count would be 0, and in order for it to flag as a double dribble, you would need to dribble, pick it up and then dribble again. So if you’re holding it without any dribbles yet, it won’t flag it.

    • @vibhavagrawal9893
      @vibhavagrawal9893 Год назад

      @@AyushPai ahh missed out on that, great job!

  • @adrianbaetu2015
    @adrianbaetu2015 Год назад

    Hi Ayush, really inspiring🤩.
    Wonder if you could improve the double dribble, so basically detecting when the ball starts to be holde. The Time threshold is pragmatic, but would it be too hard to estimate the gravitation based trajectory and expected position at a certain time? I mean thats rather simple physics formula, so could be detected fast and without the static time threshold delay.
    Just in case, let me know if you‘d like to have some support on that.
    Take care & keep up the good work 🙂👍

    • @AyushPai
      @AyushPai  Год назад

      I definitely agree the time threshold is not the best way of determining if the ball is held. I will definitely look into estimating the gravitation based trajectory and expected position. Great idea thanks.

  • @scofgaming5007
    @scofgaming5007 Год назад +1

    Genuinely curious in the code do you actually use language from the rules book or just what is thought of as a travel? The rule isn’t simply 2 steps. Also curious if you are serious about making this would you consider trying to become a referee? I think it would only help in the development of this technology

    • @AyushPai
      @AyushPai  Год назад

      I account for the gather step and pivot steps for travels. There are definitely other small intricate details of the travel violation that I haven’t accounted for in this version.
      I may consider it.

  • @MahckMedia
    @MahckMedia Год назад

    Real cool!

  • @marouns7010
    @marouns7010 Год назад +4

    you gotta patent this ASAP

  • @mercuryliang7906
    @mercuryliang7906 Год назад

    Hello, I'd like to ask a question about your "basketball referee" if you may. When I was running locally, it reported this error:
    ValueError: setting an array element with a sequence. The requested array would exceed the maximum number of dimension of 32.
    Please let me know how I can run this code successfully. I also want to thank you again for taking the time to read my words, and I also want to express my admiration for this project.

  • @nwachukwulevi
    @nwachukwulevi Год назад +1

    This is awesome. What's your github repo?

    • @AyushPai
      @AyushPai  Год назад +3

      github.com/ayushpai/AI-Basketball-Referee

  • @MrEmmett
    @MrEmmett Год назад

    Love this video

  • @ezzietechie99
    @ezzietechie99 Год назад +1

    Where did you find the more extensive dataset of basketball training images?

  • @OTZDarv
    @OTZDarv Год назад

    Nice

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

    how do i invest?

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

    can you build AI football referee?

  • @ryanhulke8999
    @ryanhulke8999 Год назад

    yo you said you labeled the first 50 imgs for training, but howd you label the thousands when you expanded the dataset?

  • @mcbublick
    @mcbublick 10 месяцев назад

    Where is the NBA? this is it

  • @justbautista721
    @justbautista721 Год назад

    I would love to chat with you! I'm doing a similar project for my undergraduate thesis. But it focuses on personal fouls

    • @AyushPai
      @AyushPai  Год назад

      Sure! Email me at ayushpai@gatech.edu

  • @TheDalimagic
    @TheDalimagic Год назад +3

    Awesome! What about fouls?

    • @AyushPai
      @AyushPai  Год назад +4

      Working on shooting fouls and reach-in fouls for v3.

  • @TheDalimagic
    @TheDalimagic Год назад

    How can I test myself? How do I use your github repo?

    • @AyushPai
      @AyushPai  Год назад +1

      You can clone it and run any of the programs in a compiler. Reach out if you need any help!

  • @wat4504
    @wat4504 Год назад

    1. If you already can detect the pickup of the ball, why didn't you use that for tracking travels?
    Traveling isn't "taking >2 steps without dribbling the ball". That's vague and inaccurate. That will deem 3 steps within a live dribble as a travel, when its not.
    Traveling in simple cases is just "taking >2 steps after picking up the ball"
    2. Did you test using both feet at the same time? Does it count as a single step?
    3. Does your code account for nonpivot foot steps? How about lifting the pivot?
    4. What do you think about setting up multiple cameras for a more accurate 3d positioning system? That would be a better way of detecting "hand under the ball" pickups instead of using the time threshhold
    Would love to help clarify the rules if you ever need it

    • @AyushPai
      @AyushPai  Год назад

      You are right, I should use the pickup of the ball for sure. I actually developed that code after making the travel detection so I didn’t think to use it then haha. And thanks for clarifying the travel rule, I will make that fix in the next version. I haven’t tested both feet, but will definitely do so. Should it count it as one or two in that case? The code accounts for the pivot step. And yes that was my plan! Using multiple cameras and triangulation to create a 3D model.

    • @wat4504
      @wat4504 Год назад

      @@AyushPai That's cool to know! That would definitely be a much more reliable system
      Anyways, both feet counts as a single step in general. The following are all legal plays:
      Ends the dribble --> steps a single foot --> then steps both feet
      Ends the dribble --> steps both feet --> then steps a single foot
      Ends the dribble --> steps both feet --> jumps --> then steps both feet again
      (Last one is a travel in FIBA, but legal in the NBA)

  • @DevAngelo
    @DevAngelo Год назад

    5:28

  • @jamesanthony1756
    @jamesanthony1756 Год назад

    Can I speak with you

    • @AyushPai
      @AyushPai  Год назад

      Sure, email me at ayushpai@gatech.edu

  • @jakerevzan2341
    @jakerevzan2341 Год назад

    What the hell😂😂

  • @inkapaahtimo
    @inkapaahtimo Год назад

    at 1:05 you have already counted three steps before he has even gathered the ball

  • @AppleDude0315
    @AppleDude0315 Год назад

    @ayush, anyway i could contact you??

  • @DavidPace
    @DavidPace Год назад +3

    I'm impressed. Are you on LinkedIn? Let's connect

    • @AyushPai
      @AyushPai  Год назад +1

      www.linkedin.com/in/ayushpai

    • @DavidPace
      @DavidPace Год назад +1

      @@AyushPai I sent a connection request

  • @R0N-VEEAR
    @R0N-VEEAR Год назад

    After the 3 second incident I was 100% thinking its time to replace refs with ai 🫡