Skip to content

Commit

Permalink
MatlabAPI/CocoEval.m: added AR-small/medium/large
Browse files Browse the repository at this point in the history
  • Loading branch information
pdollar committed Jul 29, 2015
1 parent d32e66e commit 581ce6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MatlabAPI/CocoEval.m
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function accumulate( ev )
function summarize( ev )
% Compute and display summary metrics for evaluation results.
if(isempty(ev.eval)), error('Please run accumulate() first'); end
ev.stats=zeros(1,9);
ev.stats=zeros(1,12);
ev.stats(1) = summarize1(1,':','all',100);
ev.stats(2) = summarize1(1,.50,'all',100);
ev.stats(3) = summarize1(1,.75,'all',100);
Expand All @@ -173,6 +173,9 @@ function summarize( ev )
ev.stats(7) = summarize1(0,':','all',1);
ev.stats(8) = summarize1(0,':','all',10);
ev.stats(9) = summarize1(0,':','all',100);
ev.stats(10) = summarize1(0,':','small',100);
ev.stats(11) = summarize1(0,':','medium',100);
ev.stats(12) = summarize1(0,':','large',100);

function s = summarize1( ap, iouThr, areaRng, maxDets )
p=ev.params; i=iouThr; m=find(p.maxDets==maxDets);
Expand Down

0 comments on commit 581ce6b

Please sign in to comment.