当前位置:网站首页>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/
边栏推荐
- 问题来了:4GB物理内存的机器上申请8G内存能成功吗?
- 二叉树的序列化和反序列化
- 【Untitled】
- "Digital Economy Panorama White Paper" Special Analysis of Banking Industry Intelligent Marketing Application Released
- LeetCode #101. Symmetric Binary Tree
- 【无标题】
- C# Get system installed .NET version
- How should the acceptance criteria for R&D requirements be written?| Agile Practices
- The batch size does not have to be a power of 2!The latest conclusions of senior ML scholars
- ThreadLocal的简单理解
猜你喜欢
Here comes the question: Can I successfully apply for 8G memory on a machine with 4GB physical memory?
罗振宇折戟创业板/ B站回应HR称用户是Loser/ 腾讯罗技年内合推云游戏掌机...今日更多新鲜事在此...
C# Get system installed .NET version
苹果Meta都在冲的Pancake技术,中国VR团队YVR竟抢先交出产品答卷
C# 获取系统已安装的.NET版本
26、管道参数替换命令xargs
Intranet penetration tool ngrok usage tutorial
API调用,API传参,面向对接开发,你真的会写接口文档吗?
LeetCode #101. Symmetric Binary Tree
h264协议
随机推荐
已解决IndentationError: unindent does not match any oute r indentation Level
阻塞、非阻塞、多路复用、同步、异步、BIO、NIO、AIO 一锅端
OpenSSF的开源软件风险评估工具:Scorecards
Manchester city launch emotional intelligence scarf can be detected, give the fans
国产抗新冠口服药每瓶不超300元/ 我国IPv6网络全面建成/ 谷歌入局折叠屏手机...今日更多新鲜事在此...
Programmer's Exclusive Romance - Use 3D Engine to Realize Fireworks in 5 Minutes
修改VOT2018.json文件,去掉图片路径中的color
在北极都可以穿短袖了,温度飙升至32.5℃
Go-based web access parameters
The FFmpeg library is configured and used on win10 (libx264 is not configured)
[Microservice ~ Remote Call] Integrate RestTemplate, WebClient, Feign
1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
字节秋招二面把我干懵了,问我SYN报文什么情况下会被丢弃?
AI篮球裁判火了,走步算得特别准,就问哈登慌不慌
Golang学习之路(五):Golang的函数
学长告诉我,大厂MySQL都是通过SSH连接的
ABAP 报表中如何以二进制方式上传本地文件试读版
HAproxy:负载均衡
智驾科技完成C1轮融资,此前2轮已融4.5亿元
放下手机吧:实验表明花20分钟思考和上网冲浪同样快乐