after following a pyimagesearch tutorial on how to build a document scanner in python, the scanner worked if there was enough contrast in the image. It doesn\'t really work