error when using insertShape function

2 visualizzazioni (ultimi 30 giorni)
Jun Zhang
Jun Zhang il 18 Mar 2019
I follow the demo of fast RCNN to study deep learning.
but erros happen.
% Read one of the images.
I = imread(vehicleDataset.imageFilename{10});
% Insert the ROI labels.
I = insertShape(I, 'Rectangle', vehicleDataset.vehicle{10});
errors:
>> insertShape(img1, 'Rectangle', vehicleDataset.vehicle{1})
Error using vision.ShapeInserter
The specified superclass 'matlab.system.SystemAdaptorSFun' contains a parse error, cannot be found on MATLAB's
search path, or is shadowed by another file with the same name.
Error in insertShape>createShapeInserter_sim (line 792)
h_ShapeInserter = vision.ShapeInserter('Shape', 'Rectangles', ...
Error in insertShape>getSystemObjects_sim (line 751)
h_ShapeInserter = createShapeInserter_sim(shape, fillShape, ...
Error in insertShape>getSystemObjects (line 726)
h_ShapeInserter = getSystemObjects_sim(shape, fillShape, lineWidth, ...
Error in insertShape (line 114)
h_ShapeInserter = getSystemObjects(shapeOut, fillShape, ...
why?

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by