We developed a sports analytics solution that works with both Android and iOS mobile devices. Our approach uses a YOLO and DeepSort-based model tuned on Tensorflow-lite to conduct real-time pose estimation of players and ball identification and tracking in baseball and golf. Our AI engine results in two Tensorflow lite models running on high-end Android and IOS devices. Without employing pricey hardware, the client was able to launch a first-of-its-kind, cost-effective sports analytics tool. The project’s technology stack consists of Yolo, DeepSort, Deep Learning Models, and OpenCV.

Business Challenge:
Every sport has introduced the field of Analytics. We worked on the analytics of two sports, Baseball and Golf. There were three major challenges. The first challenge was to detect the pose of the player. The second challenge was to detect and track the ball moving at around 160 km/h in near real-time. The third challenge was to implement the solution on both Android and IOS devices.

Solution:
We developed and optimized a solution that performed the pose estimation of the player. Furthermore, we optimized and implemented a YOLO and Deepsort-based model that detects and tracks the ball. Finally, the model was optimized on Tensorflow-lite to run on Android and IOS devices.

AI Engine Results:
We developed two Tensorflow lite models that runs on high-end Android and IOS devices. The first model detects and tracks of the ball in near real time, whereas the second model detects the player’s pose .

Results:
An app that performs the pose estimation, and ball detection and tracking in real time.

Client Success:
The client was able to introduce a first of its kind mobile app that performs a reasonable analytics of the two sports like baseball and Golf without using specialized and expensive hardware that may cost as high as $20000.

Technology Stack:
Language: Python
Technologies: Yolo, DeepSort, Deep Learning Models, OpenCV

Photo Courtesy: Tech Bullion