Skip to content

Instantly share code, notes, and snippets.

@vbalnt
vbalnt / gist:8691010
Created January 29, 2014 15:58
Prunes boxes function matlab
function [resbbox,resconf]=prunebboxes(bbox,conf,ovthresh)
% Function that prunes multiples detection boxes.
% Taken from http://www.di.ens.fr/willow/events/cvml2012/materials/practical-detection/
[vs,is]=sort(-conf);
bbox=bbox(is,:);
conf=conf(is);
resbbox=[];
resconf=[];