Borrar filtros
Borrar filtros

Undefined function 'imageDatastore' for input arguments of type 'char'.

1 visualización (últimos 30 días)
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);

Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de Sept. de 2016
imageDatastore objects were introduced in R2015b, but imageDatastore() did not become a callable function until R2016a.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by