function init

global MODEL LEARN CLASSIFY_PARAMS PARAMS IMAGE

% Get the Trainint Data

CLASSIFY_PARAMS.save_images = 0;
CLASSIFY_PARAMS.img_cnt = 1;
CLASSIFY_PARAMS.max_imag = 50;

CLASSIFY_PARAMS.NO_GRADIENT = 0;


[X,Y] = Hand_Label_Data_Learn;

% Build the model

MODEL = Build_Model(X,Y);

% LEARN.near_field_lrn = 1;
% CLASSIFY_PARAMS.minDst = PARAMS.LrnMinDst;
% CLASSIFY_PARAMS.maxDst = PARAMS.LrnMaxDst;

if CLASSIFY_PARAMS.save_images == 1
   curr_imag = IMAGE.rgb;
   str = ['save img' num2str(CLASSIFY_PARAMS.img_cnt) '  curr_imag'];
   CLASSIFY_PARAMS.img_cnt = CLASSIFY_PARAMS.img_cnt + 1;
   eval(str);
end


return;
