필터 지우기
필터 지우기

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);
  댓글 수: 2
Manpreet Singh
Manpreet Singh 2017년 4월 5일
i want to make real time system in which the images of height and weight from meter and weighing machine are taken, then processed and digital data values of weight and height are stored in tabular form(3 columns 1 serial no., 2 height and 3 weight) in excel sheet. This code is for recording data of only one person. i want to record the data of x persons one by one in the same excel sheet. first data is recorded of first person then second then third and so on . serial no. increases automatically.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by