Contains the image recognition, and sorting portion of sortr, a machine that sorts a deck of cards.