Yes or No? I can add data to the network I trained?

1 次查看(过去 30 天)
Yes or No? I can add data to the network I trained? I am using SOM

回答(1 个)

john john
john john 2012-2-2
okay I trained 290 images which is 30x40 this is for my hand signal recognition.. I resize, make it grayscale and black and white.. since my load image button can recognize well but my snapshot can't recognize some variation I was thinking to get more variation of hand signal then add it to the network I trained..so that every snapshot of my GUI can recognize those variation of position I am right?
wa = imread('C:\Users\Jonas Mamaran\Documents\MATLAB\pray\a\ORIGINAL1.jpg');
x = wa;
y = double(x) / 1000;
data3 = imresize(y,[40 30]);
data4 = rgb2gray(data3);
%new
img2=im2bw(data4,graythresh(data4));
img2=~img2;
BW2 = imfill(img2,'holes');
z = BW2;
z = z(:);
%load network, simulate
load trained_som_20x20m_10ke_30x40p_ae;
input = sim(network,z);
save('input_recognize.mat', 'input');
you think this code can add it to my network?
  3 个评论
Walter Roberson
Walter Roberson 2012-2-3
It might be nice whether where you are, but the area where Jan lives has been dangerously cold for weeks. Jan is busy.
Jan
Jan 2012-2-3
@John: I'm glad to see, that you've spend more details about the problem. Although it is very cold here and the radiator of the house was down for two days now (ran out of oil, after refilling the engine was stuffed by oil mud, I've cleaned it now and the room temperature is going above +10 deg now!), I think (slowly), that you could dare to try if it works. Do you have the impression, that it does not work? Why?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by