How to train neural network with extracted features?
3 views (last 30 days)
Show older comments
I use following code for feature detection aand storing:
srcFiles = dir('E:\Database\Preprocessed\Genuine\Resize\20\*.png'); % the folder in which ur images exists
Features = cell(length(srcFiles),1) ;
Valid_points =cell(length(srcFiles),1) ;
for i = 1 : length(srcFiles)
filename = strcat('E:\Database\Preprocessed\Genuine\Resize\20\',srcFiles(i).name);
points1 = detectSURFFeatures(imread(filename)); hold on;
strongest = points1.selectStrongest(5);
imshow(filename); hold on;
plot(strongest);
strongest.Location
[features1, interest_points] = extractFeatures(imread(filename), points1);
Features{i} = features1 ;
Valid_points{i} = interest_points ;
figure; imshow(filename);
end
%Features;
%Valid_points;
plz tell me how to give the input of extracted features in the training of neural network.
0 Comments
Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!