basic-dataset-generator-from-image-of-numbers

generating .npy dataset and labels out of given image, containing numbers from 0 to 9, using opencv

input image

input

output image

output

output files

it generates dataset.npy and labels.npy in main directory which can be loaded with:

import numpy as np

dataset= np.load(NPY_DATASET_LOCATION)
labels= np.load(NPY_LABELS_LOCATION)

GitHub

View Github