Python - Image To MNIST array (28x28=784)

preview_player
Показать описание
Here is a simple program that convert an Image to an array of length 784 i.e 28x28 mnist array
1. First image in converted into mode 'L' i.e black and white
2. Image is resized
3. Image is sharpened (smooth pixels)
4.Image is pasted on canvas of size 28x28
5.Convert the image to array
Code :) :
Рекомендации по теме
Комментарии
Автор

this was just what i was looking for! thanks a ton!!

shreyasshingare
Автор

The link in the description is not working. Its asking for access

chetantalele
Автор

how can i get the bounding boxes of the object into image trained from xml file in automatically way with python?

mohamedtouati
Автор

I have an error that shows 'unindent does not match any outer identation level' so what I have to do?

ankitajadhav
Автор

Is there any possible way to save the save the MNIST array?

jonasdbtr
welcome to shbcf.ru