One possible approach to the problem is to restrict the object detection model window size such that it performs detection on a cut out frame.Instance segmentation helps in detecting players close to the pitch, reducing errors in detection.The author will be using Detectron2 from Facebook AI research for instance segmentation.The methodology involves data gathering, dataset annotation, model building, and installing required libraries.