尝试按照本教程https://www.mathworks.com/help/vision/ref/objectdetectortrainingdata.html,我有停车场的航拍照片,我想让汽车自动计算程序。 (如果我走向错误的方向或有更简单的解决方案,请告诉我!)。
我的错误:
Warning: Variable 'carsGroundTruth' not found.
In carDetection (line 3)
我的代码:
imageDir = fullfile(matlabroot, 'toolbox', 'vision', 'visiondata', 'carImages');
addpath(imageDir);
load('cars.mat','carsGroundTruth')
为什么赢得了car.mat加载?我已经尝试将它放在Documents中的MATLAB文件中,以及第1行中引用的imageDir。