All Projects → chonyy → Ml Auto Baseball Pitching Overlay

chonyy / Ml Auto Baseball Pitching Overlay

⚾🤖⚾ Automatic baseball pitching overlay in realtime

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ml Auto Baseball Pitching Overlay

Pytorch Lightning
The lightweight PyTorch wrapper for high-performance AI research. Scale your models, not the boilerplate.
Stars: ✭ 16,641 (+8220.5%)
Mutual labels:  artificial-intelligence, ai, data-science
Fixy
Amacımız Türkçe NLP literatüründeki birçok farklı sorunu bir arada çözebilen, eşsiz yaklaşımlar öne süren ve literatürdeki çalışmaların eksiklerini gideren open source bir yazım destekleyicisi/denetleyicisi oluşturmak. Kullanıcıların yazdıkları metinlerdeki yazım yanlışlarını derin öğrenme yaklaşımıyla çözüp aynı zamanda metinlerde anlamsal analizi de gerçekleştirerek bu bağlamda ortaya çıkan yanlışları da fark edip düzeltebilmek.
Stars: ✭ 165 (-17.5%)
Mutual labels:  artificial-intelligence, ai, data-science
Machine Learning Open Source
Monthly Series - Machine Learning Top 10 Open Source Projects
Stars: ✭ 943 (+371.5%)
Mutual labels:  artificial-intelligence, ai, data-science
Ai Basketball Analysis
🏀🤖🏀 AI web app and API to analyze basketball shots and shooting pose.
Stars: ✭ 582 (+191%)
Mutual labels:  artificial-intelligence, object-detection, pose-estimation
Free Ai Resources
🚀 FREE AI Resources - 🎓 Courses, 👷 Jobs, 📝 Blogs, 🔬 AI Research, and many more - for everyone!
Stars: ✭ 192 (-4%)
Mutual labels:  artificial-intelligence, ai, data-science
Hyperparameter hunter
Easy hyperparameter optimization and automatic result saving across machine learning algorithms and libraries
Stars: ✭ 648 (+224%)
Mutual labels:  artificial-intelligence, ai, data-science
Pycm
Multi-class confusion matrix library in Python
Stars: ✭ 1,076 (+438%)
Mutual labels:  artificial-intelligence, ai, data-science
Artificio
Deep Learning Computer Vision Algorithms for Real-World Use
Stars: ✭ 326 (+63%)
Mutual labels:  artificial-intelligence, ai, data-science
Yolov3 Object Detection With Opencv
This project implements a real-time image and video object detection classifier using pretrained yolov3 models.
Stars: ✭ 191 (-4.5%)
Mutual labels:  artificial-intelligence, object-detection, ai
Blurr
Data transformations for the ML era
Stars: ✭ 96 (-52%)
Mutual labels:  artificial-intelligence, ai, data-science
Caer
High-performance Vision library in Python. Scale your research, not boilerplate.
Stars: ✭ 452 (+126%)
Mutual labels:  artificial-intelligence, ai, data-science
Nlpaug
Data augmentation for NLP
Stars: ✭ 2,761 (+1280.5%)
Mutual labels:  artificial-intelligence, ai, data-science
Spacy
💫 Industrial-strength Natural Language Processing (NLP) in Python
Stars: ✭ 21,978 (+10889%)
Mutual labels:  artificial-intelligence, ai, data-science
Autodl
Automated Deep Learning without ANY human intervention. 1'st Solution for AutoDL [email protected]
Stars: ✭ 854 (+327%)
Mutual labels:  artificial-intelligence, ai, data-science
Csinva.github.io
Slides, paper notes, class notes, blog posts, and research on ML 📉, statistics 📊, and AI 🤖.
Stars: ✭ 342 (+71%)
Mutual labels:  artificial-intelligence, ai, data-science
Computervision Recipes
Best Practices, code samples, and documentation for Computer Vision.
Stars: ✭ 8,214 (+4007%)
Mutual labels:  artificial-intelligence, object-detection, data-science
Polyaxon
Machine Learning Platform for Kubernetes (MLOps tools for experimentation and automation)
Stars: ✭ 2,966 (+1383%)
Mutual labels:  artificial-intelligence, ai, data-science
Lightnet
🌓 Bringing pjreddie's DarkNet out of the shadows #yolo
Stars: ✭ 322 (+61%)
Mutual labels:  artificial-intelligence, object-detection, ai
Ml
A high-level machine learning and deep learning library for the PHP language.
Stars: ✭ 1,270 (+535%)
Mutual labels:  artificial-intelligence, ai, data-science
Modelchimp
Experiment tracking for machine and deep learning projects
Stars: ✭ 121 (-39.5%)
Mutual labels:  artificial-intelligence, ai, data-science

⚾ Automatically overlaying pitch motion and trajectory with machine learning!

This project takes your baseball pitching clips and automatically generates the overlay. The input pitching clip could be directly from your phone or camera. The release point will be automatically detected by the program. This system will trace the trajectory and align all the videos to generate the overlay.

A fine-tuned YOLOv4 model is used to get the location of the ball. Then, I implemented SORT tracking algorithm to keep track of each individual ball. Lastly, I have applied some image registration techniques to deal with slight camera shift on each clip.

I'm still trying to improve it! Feel free to follow this project, also check out the Todo list.

The idea came from this incredible overlay.

💻 Getting Started

These instructions will get you a copy of the project, and generates your own pitching overlay clip!

Get a copy

Get a copy of this project by simply running the git clone command.

git clone https://github.com/chonyy/ML-auto-baseball-pitching-overlay.git

Prerequisites

Before running the project, we have to install all the dependencies from requirements.txt

pip install -r requirements.txt

Overlay!

Last, run the project with your own clips!

Try a sample

python pitching_overlay.py

Try with yout own clips

Place your pitching videos in a folder, then specify the path in the CLI.

python pitching_overlay.py --videos_folder "./videos/videos"

🔨 Project Structure

🎬 More Demo

☑️ Todo

  • [x] Implement image registration to deal with camera shift
  • [ ] Build a demo web app for people to use it in realtime on web
  • [ ] Enable custom parameter tuning
  • [ ] Improve the visual effect
  • [ ] Write a Medium post to explain the technical workflow
  • [ ] Draw a structure diagram
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].