You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, after the installation and configuration, when I start to run in Simulink, the following error occurred: Error in 'IntelligentBinPicking/Object Detector/Draw Shapes': The Pts input must be an M-by-4 matrix. Each row specifies a different rectangle and is of the form [x y width height]. Error in port widths or dimensions. 'output 1' of 'IntelligentBinPicking/Object Detector/Data Type Conversion' is a matrix with a maximum size of [8x5].
at function bboxes = objectDetector(image) isSim = coder.target('sfun'); simSupported = false; useExtrinsic = isSim && ~simSupported; [bboxes] = deep.blocks.internal.objectDetector(image, 'C:\Users\jamie\Documents\MATLAB\intelligent-bin-picking-example-with-simulink\Perception\trainedYOLOv4DetectorSimGazebo_cuboid.mat', useExtrinsic, {'Threshold', 0.5, 'SelectStrongest', false}, {'NumStrongest', 8, 'RatioType', 'Union'}, 8, true, false, false); end
It turns out the objectDetector output a Mx5 matrix instead of Mx4, I wonder if there is a way to solve this problem?
The text was updated successfully, but these errors were encountered:
Hi, thanks for the great work!
However, after the installation and configuration, when I start to run in Simulink, the following error occurred:
Error in 'IntelligentBinPicking/Object Detector/Draw Shapes': The Pts input must be an M-by-4 matrix. Each row specifies a different rectangle and is of the form [x y width height].
Error in port widths or dimensions. 'output 1' of 'IntelligentBinPicking/Object Detector/Data Type Conversion' is a matrix with a maximum size of [8x5].
at
function bboxes = objectDetector(image) isSim = coder.target('sfun'); simSupported = false; useExtrinsic = isSim && ~simSupported; [bboxes] = deep.blocks.internal.objectDetector(image, 'C:\Users\jamie\Documents\MATLAB\intelligent-bin-picking-example-with-simulink\Perception\trainedYOLOv4DetectorSimGazebo_cuboid.mat', useExtrinsic, {'Threshold', 0.5, 'SelectStrongest', false}, {'NumStrongest', 8, 'RatioType', 'Union'}, 8, true, false, false); end
It turns out the
objectDetector
output a Mx5 matrix instead of Mx4, I wonder if there is a way to solve this problem?The text was updated successfully, but these errors were encountered: