当前位置:网站首页>AI basketball referee, walking is special, ask harden care don't care
AI basketball referee, walking is special, ask harden care don't care
2022-08-09 13:10:00 【QbitAl】
Alex from Concave Fei Temple
qubit | public account QbitAI
Basketball players should know that walking is one of the most common violations in the game.
In order to better monitor whether players walk in basketball games, a little brother named @Ayush Pai (let's call him AP brother)) came up with an AI referee.
As you can see, the computer "watches" the basketball player all the time and can immediately tell if the person is walking.
This AI basketball referee quickly attracted a group of netizens to watch.
Some people joked that if the NBA used this AI referee, they would be finished.(Because NBA referees sometimes don't blow away)
Some people say that this AI seems to be very helpful in regulating children's basketball.
There is also a smart person who suggested that Brother AP design another Oscar-winning error detection AI.(Doge)
So having said that, how did this AI referee have such a "sightly eye"?
Mainly track the trajectory and steps of the ball
As you may have guessed, this AI referee is mainly created based on computer vision (CV).
The AI mainly tracks two things: the trajectory of the ball and the number of steps a person takes.
In order to achieve this, the timing of the dribble will be detected first.
First, Brother AP wrote a set of CV algorithms to detect the bouncing of the ball and stream the camera's view, that is, extract video frames in sequence.
The AP then created an Aegis v image color mask to identify and filter out the color of the basketball.
In the computer daemon, the basketball is displayed in white, and other objects of different colors than the basketball are displayed in black; because only the ball is recognized and placed in the maskmiddle.
However, the interfering colors caused some irregular pixel blocks to appear around the basketball. In order to optimize this problem, AP brother deleted some post-processing code and made a circle around the ball.round to make it look neater.
In order to better track the bounce of the basketball, Brother AP measured its radius, obtained a vertex based on the radius of the ball and the center point, and then used a parabolic function to represent the ballmovement trajectory.When the vertex reaches the minimum value, the basketball has touched the ground.
After the basketball identification problem is solved, the next step is to count the number of steps people take while dribbling.
The pedometer on the Apple Watch does not update in real time.
So AP brother simply did it himself and designed a real-time counting pedometer.
He created an Android application that detects and counts steps based on acceleration in the three axes of x, y, and z, and feeds this data back to a Python program.
Finally, by combining the two datasets that monitor the trajectory of the ball and the number of steps, it is possible to determine whether a person has walking behavior.
However, the current AI referee is not "perfect" enough. Some netizens pointed out that this AI does not seem to recognize the gather step that is popular in the NBA today (Harden should be more familiar with this)).
In this regard, AP said that he will add this function to it later.
Are you optimistic about this AI basketball referee?By the way, AP brother has open sourced his algorithm on GitHub, interested partners can go and have a look~
Portal:
https://github.com/ayushpai/Basketball-Detector
Reference link:
[1]https://www.youtube.com/watch?v=3UeoKxw8UYs
[2]https://www.reddit.com/r/MachineLearning/comments/wbwkwb/i_created_a_cvbased_automated_basketball_referee_p/
边栏推荐
- Glory to the Blue Yonder, speeds up the strategic growth
- 系统提供的堆 VS 手动改写堆
- ARP协议原理
- GRPC整体学习
- 【小程序】低代码+小游戏=小游戏可视化开发
- ABAP interview questions: how to use the System CALL interface of the ABAP programming language, direct execution ABAP server operating System's shell command?
- 李开复花上千万投的缝纫机器人,团队出自大疆
- Batch大小不一定是2的n次幂!ML资深学者最新结论
- 学长告诉我,大厂MySQL都是通过SSH连接的
- 用皮肤“听”音乐,网友戴上这款装备听音乐会:仿佛住在钢琴里
猜你喜欢
信息系统项目管理师必背核心考点(六十三)项目组合管理的主要过程&DIPP分析
C# Get system installed .NET version
900页数学论文证明旋转的黑洞不会爆炸,丘成桐:30多年来广义相对论首次重大突破...
Too much volume... Tencent was asked on the side that the memory was full, what would happen?
Information system project managers must memorize the core test sites (63) The main process of project portfolio management & DIPP analysis
IDEA close/open reference prompt Usages
Resolved IndentationError: unindent does not match any oute r indentation Level
Ways to prevent data fraud
字节秋招二面把我干懵了,问我SYN报文什么情况下会被丢弃?
听声辨物,这是AI视觉该干的???|ECCV 2022
随机推荐
阿里云新增三大高性能计算解决方案,助力生命科学行业快速发展
数字化转型之支撑保障单元
Information system project managers must memorize the core test sites (63) The main process of project portfolio management & DIPP analysis
Here comes the question: Can I successfully apply for 8G memory on a machine with 4GB physical memory?
API调用,API传参,面向对接开发,你真的会写接口文档吗?
听声辨物,这是AI视觉该干的???|ECCV 2022
Gumbel_Softmax 概要
你没见过的《老友记》镜头,AI给补出来了|ECCV 2022
goalng-sync/atomic原子操作
FFmpeg compiles and installs on win10 (configure libx264)
h264协议
Resolved IndentationError: unindent does not match any oute r indentation Level
放下手机吧:实验表明花20分钟思考和上网冲浪同样快乐
MySQL查询性能优化七种武器之索引潜水
Common gadgets of Shell (sort, uniq, tr, cut)
基于STM32+铂电阻设计的测温仪
系统提供的堆 VS 手动改写堆
WeChat Mini Program Payment and Refund Overall Process
IDEA close/open reference prompt Usages
electron 应用开发优秀实践