필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
john john
john john 2012년 2월 1일
편집: Lennart 2013년 9월 27일
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?

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by