I am getting an error Reference to non-existent field 'BoundingBox'. while using the function please help
Mostrar comentarios más antiguos
function [bboxes,flow] = findPet(frameGray, opticFlow)
% Calculate Optical Flow
flow = estimateFlow(opticFlow,frameGray);
% Threshold Image
threshImage = ( flow.Magnitude > 4);
% Find connected components and filter regions
[~,regions] = filterRegions(threshImage);
if(size(regions) > 0)
bboxes = regions.BoundingBox;
else
bboxes = [];
end
end
3 comentarios
Walter Roberson
el 13 de Jul. de 2020
pratyush ghosh
el 13 de Jul. de 2020
pratyush ghosh
el 13 de Jul. de 2020
Editada: Walter Roberson
el 13 de Jul. de 2020
Respuestas (1)
Walter Roberson
el 13 de Jul. de 2020
0 votos
You need to pull in the newer version of cnnPredict, which is at https://github.com/NVIDIA-developer-blog/code-samples/tree/master/MATLAB_deeplearning
2 comentarios
pratyush ghosh
el 14 de Jul. de 2020
Walter Roberson
el 17 de Jul. de 2020
Which packages did you load from where to put together this code? The ones I find on mathworks.com do not reference dilate, but I do see dilate documented for layers at https://www.vlfeat.org/matconvnet/mfiles/simplenn/vl_simplenn/
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!