با سلام و تبریک سال نو من برنامه ای برای خواندن اعداد از دیتابیس نوشتم ولی خطا هایی داره میشه شما بررسیش کنید
n=25;
count=0;
for i = 0:12
for j = 1:n
count=count+1;
str = strcat('F:\dr.fotohi\Wave let\fuul\OCR\OCR\ocr_project_files\m_files\Data Base\training\G_',int2str(i),'\train_� 39;,int2str(i),'(',int2str(j),'
.PNG'
;
alphabet(:,count)=reshape(double(ZONE(imread(str)) ),[],1);
end
%generating target for each digit
target(10,count)=0;
target(i+1,count-(n-1):end)=1;
end
خطاش:
File "F:\dr.fotohi\Wave let\fuul\OCR\OCR\ocr_project_files\m_files\Data Base\training\G_0\train_0(1).PNG" does not exist.
در صورتی که خط را روی فرمان اجرا کنم ران میشه
ویا به
alphabet(:,count)=reshape(double(ZONE(imread(str)) ),[],1);
به str خطا میگیره
میشه کمکم کنید
n=25;
count=0;
for i = 0:12
for j = 1:n
count=count+1;
str = strcat('F:\dr.fotohi\Wave let\fuul\OCR\OCR\ocr_project_files\m_files\Data Base\training\G_',int2str(i),'\train_� 39;,int2str(i),'(',int2str(j),'


alphabet(:,count)=reshape(double(ZONE(imread(str)) ),[],1);
end
%generating target for each digit
target(10,count)=0;
target(i+1,count-(n-1):end)=1;
end
خطاش:
File "F:\dr.fotohi\Wave let\fuul\OCR\OCR\ocr_project_files\m_files\Data Base\training\G_0\train_0(1).PNG" does not exist.
در صورتی که خط را روی فرمان اجرا کنم ران میشه
ویا به
alphabet(:,count)=reshape(double(ZONE(imread(str)) ),[],1);
به str خطا میگیره
میشه کمکم کنید
دیدگاه