On predicting offense formation pre-snap

How can an algorithm predict formation from an image like this?

In this project, a small dataset of pre-snap images were collected for image processing and machine learning. The goal of the project was to explore the possibilities of ML in the realm of football analysis. Traditional image processing techniques such as Hough Transform and image gradients were utilized as pre-processing techniques for a CNN classifier. See details and all project report here: