Use OpenCV's python bindings to locate a MTG card in an image and then parse out it's name