I want to classify an image as a specific letter/number using KNN algorithm. The problem is that the dataset is all png images and I don't know how could I apply this algorithm to this dataset. Should I convert all my dataset and my the image I want to classify as a CSV file first?
I'm trying an implemented python KNN algorithm, that reads a ".data" file, and I don't have much experience working with classification algorithms, images or datasets. I'm struggling on how to use the images I have.
Thank you.