Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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 comentarios
Manpreet Singh
Manpreet Singh el 5 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by