def read_image(self, fname):
    "Reads an input image `fname` and returns the decoded raw bytes.\n        Example usage:\n        ----------\n        >>> dataIter.read_image('Face.jpg') # returns decoded raw bytes.\n        "
    with open(os.path.join(self.path_root, fname), 'rb') as fin:
        img = fin.read()
    return img
Reads an input image `fname` and returns the decoded raw bytes.
Example usage:
----------
>>> dataIter.read_image('Face.jpg') # returns decoded raw bytes.
def read_image(self, fname):
    "Reads an input image `fname` and returns the decoded raw bytes.\n        Example usage:\n        ----------\n        >>> dataIter.read_image('Face.jpg') # returns decoded raw bytes.\n        "
    with open(os.path.join(self.path_root, fname), 'rb') as fin:
        img = fin.read()
    return img