https://github.com/reproducibilitystamp/dataset-processing
Tip revision: 36fbb80f231a8a564a730b8ad7d2787491b2a696 authored by acarlier on 20 May 2016, 09:34:24 UTC
- comments added
- comments added
Tip revision: 36fbb80
displayTeamAnnotations.m
% Displays all annotations of the same team into a single plot
% shape: the name of all shapes that have been annotated by the team
% annotation: the annotation of all shapes that have been annotated by the
% team
function displayTeamAnnotations(shape,annotation)
nbAnnot = length(annotation);
m = ceil(sqrt(nbAnnot));
n = ceil(nbAnnot/m);
figure;
for ind_a = 1:nbAnnot
subplot(n,m,ind_a);
% Read JSON
s = readJSON(['../JSON/' shape{ind_a}]);
displayShape(s,annotation{ind_a});
drawnow
end
end