Skip to content

Commit

Permalink
update visualization bug in evaluation code
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzeng committed Oct 1, 2016
1 parent e7a8d6c commit 3ff09d4
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions evaluation/runEval.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3ff09d4

Please sign in to comment.