Undefined function 'imageDatastore' for input arguments of type 'char'.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hazel Sialongo
il 28 Set 2016
Risposto: Walter Roberson
il 28 Set 2016
This is the code:
setDir = fullfile(toolboxdir('vision'),'visiondata','imageSets');
imds = imageDatastore('C:\Users\JIARA\Documents\MainGUI\Eye Images\*.jpg');
[trainingSet,testSet] = splitEachLabel(imds,0.3,'randomize');
bag = bagOfFeatures(trainingSet);
categoryClassifier = trainImageCategoryClassifier(trainingSet,bag);
confMatrix = evaluate(categoryClassifier,testSet);
0 Commenti
Risposta accettata
Walter Roberson
il 28 Set 2016
imageDatastore objects were introduced in R2015b, but imageDatastore() did not become a callable function until R2016a.
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!