when i included the includesubfolders it returns this error idk what it means. If somebody can help me. Thank you
myfolder = 'C:\address path of the folder im calling ';
dataDir = fullfile(myfolder);
imdir = fullfile (dataDir,'rgb');
imds = imageDatastore(imdir, "IncludeSubfolders","LabelSource","foldernames");

 채택된 답변

Stephen23
Stephen23 2021년 11월 23일
편집: Stephen23 2021년 11월 23일

0 개 추천

imageDatastore(imdir, "IncludeSubfolders",true, "LabelSource","foldernames");
% ^^^^ you forgot this

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by