Conversion between PIL images and ndarrays in which the classifier was trained on works.  boolean and integer variables for conversion might be superfluous now that ndarrays are returned from component_finder, not images