Undefined function 'imageDatastore' for input arguments of type 'char'.
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2016년 9월 28일
imageDatastore objects were introduced in R2015b, but imageDatastore() did not become a callable function until R2016a.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!