diff --git a/evaluation/runEval.m b/evaluation/runEval.m index b4928f2..2144ff3 100644 --- a/evaluation/runEval.m +++ b/evaluation/runEval.m @@ -238,37 +238,37 @@ if currResult.confScore > 0 if strcmp(sceneData.env,'shelf') [canvasSeg,canvasPose] = showObjectPose(currResult.objName,... - canvasSeg, ... - canvasPose, ... - sceneData.colorFrames{8}, ... - sceneData.depthFrames{8}, ... - sceneData.extCam2World{8}, ... - sceneData.colorK, ... - objPointCloud, ... - currResult.objPoseWorld, ... - objColor); + canvasSeg, ... + canvasPose, ... + sceneData.colorFrames{8}, ... + sceneData.depthFrames{8}, ... + sceneData.extCam2World{8}, ... + sceneData.colorK, ... + objPointCloud, ... + currResult.objPoseWorld, ... + objColor); canvasPose = insertText(canvasPose,[10 textPosY],sprintf(' %f : %s',currResult.confScore,currResult.objName),'Font','LucidaSansDemiBold','FontSize',12,'TextColor',objColor,'BoxColor','black'); else - [canvasSeg1,canvasPose1] = dispObjPose(currResult.objName,... - canvasSeg1, ... - canvasPose1, ... - sceneData.colorFrames{5}, ... - sceneData.depthFrames{5}, ... - sceneData.extCam2World{5}, ... - sceneData.colorK, ... - objPointCloud, ... - currResult.objPoseWorld, ... - objColor); - [canvasSeg2,canvasPose2] = dispObjPose(currResult.objName,... - canvasSeg2, ... - canvasPose2, ... - sceneData.colorFrames{14}, ... - sceneData.depthFrames{14}, ... - sceneData.extCam2World{14}, ... - sceneData.colorK, ... - objPointCloud, ... - currResult.objPoseWorld, ... - objColor); + [canvasSeg1,canvasPose1] = showObjectPose(currResult.objName,... + canvasSeg1, ... + canvasPose1, ... + sceneData.colorFrames{5}, ... + sceneData.depthFrames{5}, ... + sceneData.extCam2World{5}, ... + sceneData.colorK, ... + objPointCloud, ... + currResult.objPoseWorld, ... + objColor); + [canvasSeg2,canvasPose2] = showObjectPose(currResult.objName,... + canvasSeg2, ... + canvasPose2, ... + sceneData.colorFrames{14}, ... + sceneData.depthFrames{14}, ... + sceneData.extCam2World{14}, ... + sceneData.colorK, ... + objPointCloud, ... + currResult.objPoseWorld, ... + objColor); canvasPose1 = insertText(canvasPose1,[10 textPosY],sprintf(' %f : %s',currResult.confScore,currResult.objName),'Font','LucidaSansDemiBold','FontSize',12,'TextColor',objColor,'BoxColor','black'); canvasSeg = [canvasSeg1;canvasSeg2]; canvasPose = [canvasPose1;canvasPose2];