How can I add images from a folder to a neural network?

1 view (last 30 days)
imgDataPath = fullfile('C:\Users\Rokesh\Desktop\MATLAB\Project\E.Coli');
imds = imageDatastore(imgDataPath, ...
'IncludeSubfolders',true,'LabelSource','foldernames');

Answers (1)

Vishal Bhutani
Vishal Bhutani on 16 Jan 2019
It seems that you want to use an image for training or testing of a neural network.
Can you specify the issue in more detail?

Community Treasure Hunt

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

Start Hunting!