Python Implement Knn Image Classification