def parse(self, image_data):

        self.image = self._create_image_from_data(image_data)
        largest_square = self._find_largest_square()
        self.resized_largest_square = self._resize(
                largest_square, SUDOKU_RESIZE)
        puzzle = self._get_puzzle()
        self.stringified_puzzle = ''.join(str(n) for n in puzzle.flatten())
        return self.stringified_puzzle
Test DatasetShuffleSplit.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-opencv-sudoku-python/sudoku_image_parser.py/SudokuImageParser.parse--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/cross_validation/tests/test_dataset_iterators.py/test_dataset_shuffle_split