This project analyzes Tennis players in a video to measure their speed, ball shot speed and number of shots. This project will detect players and the tennis ball using YOLO and also utilizes CNNs to extract court keypoints. This hands on project is perfect for polishing your machine learning, and computer vision skills.
Hi, Love the YouTube Channel. When Creating the Torch Data Set, there seems to be a bug when creating the np.array for the Keys with kps. In particular kps = np.array(items['kps']).flatten() in the getitem(self, idx) method. Thanks!
hi, please help, I encountered these errors even after changing the dataset details:
raise RuntimeError(emojis(f"Dataset '{clean_url(self.args.data)}' error โ {e}")) from e
RuntimeError: Dataset 'C://Users/My name is Krish/Downloads/TENNIS_ANALYSIS/training/Tennis-Ball-Detection-5/data.yaml' error
Dataset 'C://Users/My name is Krish/Downloads/TENNIS_ANALYSIS/training/Tennis-Ball-Detection-5/data.yaml' images not found , missing path 'C:\Users\My name is Krish\Downloads\TENNIS_ANALYSIS\training\Tennis-Ball-Detection-5\valid\images'
Note dataset download directory is 'C:\Users\My name is Krish\Downloads\TENNIS_ANALYSIS\datasets'. You can update this in 'C:\Users\My name is Krish\AppData\Roaming\Ultralytics\settings.yaml'
THE ABOVE CODE IS NOT BEING EXECUTED, i am a student and is highly relaying on works like yours to self-learn ML . could you please upload the "yolo5_best.pt" and "yolo5_last.pt" files in model folder in git hub. it would be so helpful as i am currently stuck in that step.