i made a code to store height and weight of a person from two images and stored it in excel sheet showing Serial number, height and weight columns. i want to store the data for x persons. please help me with the code.
조회 수: 1 (최근 30일)
이전 댓글 표시
clc
clear all
close all
a=imread('height.jpg');
i=rgb2gray(a);
imshow(i);
ht=ocr(i);
h=[ht.Text];
b=imread('weight.jpg');
j=rgb2gray(b);
imshow(j);
wt=ocr(j);
w=[wt.Text];
for n=1:1
Name = n;
end
p=[{'Subject' ,'WEIGHT(in kg)' ,'HEIGHT(in cm)'};];
T=[p;{Name,h,w,}];
filename=('heightweight.xlsx');
xlswrite(filename,T);
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!