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

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

Answers (1)

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?

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 10 Jan 2019

Commented:

on 16 Jan 2019

Community Treasure Hunt

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

Start Hunting!