generating .npy dataset and labels out of given image, containing numbers from 0 to 9, using opencv
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)