필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
jimy george
jimy george 2014년 1월 3일
답변: Walter Roberson 2014년 1월 3일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2014년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by