On the recognition of American football formations from images