Azzera filtri
Azzera filtri

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 visualizzazione (ultimi 30 giorni)
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 Commenti
Manpreet Singh
Manpreet Singh il 5 Apr 2017
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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by