Aug 25, 2024
football_analysis and an input_videos subfolder for video files.Ultralytics library for YOLO.yolo_inference.py for experimenting with YOLO.tracker.py file containing the tracking logic, including tracking and ID assignment.team_assigner.py file to handle team color assignments.cv2.goodFeaturesToTrack to analyze corner features in the video.camera_movement.py file for calculating and handling camera movement.view_transformer.py to map pixel coordinates to real-world measurements.speed_distance_estimator.py file to calculate player speed and distance based on adjusted positions.