当前位置:网站首页>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/
边栏推荐
- 【面试高频题】可逐步优化的链表高频题
- Blocking, non-blocking, multiplexing, synchronous, asynchronous, BIO, NIO, AIO all in one pot
- PM2之配置文件
- 腾讯欲成育碧最大股东/ 米哈游招NLP内容生成研究员/ AI发现四千余物种濒临灭绝...今日更多新鲜事在此...
- 中科院打脸谷歌:普通电脑追上量子优越性,几小时搞定原本要一万年的计算...
- 推荐一个免费50时长的AI算力平台
- Byte Qiu Zhao confused me on both sides, and asked me under what circumstances would the SYN message be discarded?
- LeetCode #101. Symmetric Binary Tree
- proto3-2 syntax
- Adalvo acquires its first branded product, Onsolis
猜你喜欢
随机推荐
手写大根堆
Batch大小不一定是2的n次幂!ML资深学者最新结论
HAproxy:负载均衡
苹果Meta都在冲的Pancake技术,中国VR团队YVR竟抢先交出产品答卷
Two minutes recording can pass by second language!The volcano how to practice and become voice tone reproduction technology?
问题来了:4GB物理内存的机器上申请8G内存能成功吗?
AI篮球裁判火了,走步算得特别准,就问哈登慌不慌
超越CLIP的多模态模型,只需不到1%的训练数据!南加大最新研究来了
正则表达式(规则,匹配,和实际使用)
读写分离后,性能居然提升100%了呀
Apexsqlrecover无法连接数据库
用 API Factory 产品生成 API 文档
h264 protocol
WPF implements a MessageBox message prompt box with a mask
推荐一个免费50时长的AI算力平台
修改VOT2018.json文件,去掉图片路径中的color
随机快排时间复杂度是N平方?
链表噩梦之一?5000多字带你弄清它的来龙去脉
8、IDEA提交代码出现: Fetch failed fatal: Could not read from remote repository
win10编译x264库(也有生成好的lib文件)