Borrar filtros
Borrar filtros

How to access a set of images as a file for character recognition?

1 visualización (últimos 30 días)
jimy george
jimy george el 3 de En. de 2014
Respondida: Walter Roberson el 3 de En. de 2014
I'm doing character recognition. Now I have a database of handwritten English alphabets. 55 samples of each letter(in .png format) is stored in a folder. There are 26 such folders. Got a code which reads the samples from a file as :
fid=fopen('data0','r');
for i=1:300
[t0,N]=fread(fid,[28 28],'uchar');
t00(:,i)=(reshape(t0,1,784)');
end;
This loop reads data from a file 'data0' which is in some other format and has 300 samples of the digit 0. I have to replace 'data0' by the folder of samples any one alphabet. Is there any method to convert the folder into a suitable format? or is there any database in a suitable format available?

Respuestas (1)

Walter Roberson
Walter Roberson el 3 de En. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by