I am trying to use the python PIL library to convert an image to black and white and then extract the pixels as a 2d array of 0\'s and 1\'s.
So far I am able to convert t