Python, Image Processing, Kernel, Matplotlib, TensorFlow.
np.ndenumerate(grayscale_image_small): ax.text(i, j, int(label), ha='center', va='center', color='black', fontsize=8) # Larger font size and black color plt.axis('off') # Hide the axes plt.show() It is visible that the image converted into a np.array is formed up of numbers, which become black when