evalDetection Normalization

First pass at issue #202 Finds height/width ratio of associated ground truth and increases predicted bb height by this ratio.  
Woops yeah I removed the const and forgot to remove the reference symbol.
On Jun 25, 2014 1:46 PM, "Josh Klontz" <notifications@github.com> wrote:

> In openbr/core/eval.cpp:
>
> > +    float dLeft = dLeftTotal / count;
> > +    float dRight = dRightTotal / count;
> > +    float dTop = dTopTotal / count;
> > +    float dBottom = dBottomTotal / count;
> > +
> > +    // Redo association of ground truth to predictions with boundingBoxes
> > +    // resized based on the average differences on each side.
> > +    if (normalize) {
> > +        qDebug("Average distance left = %.3f", dLeft);
> > +        qDebug("Average distance top = %.3f", dRight);
> > +        qDebug("Average distance top = %.3f", dTop);
> > +        qDebug("Average distance bottom = %.3f", dBottom);
> > +        resolvedDetections.clear();
> > +        falseNegativeDetections.clear();
> > +        int totalTrueDetections = 0;
> > +        foreach (Detections &detections, allDetections.values()) {
>
> I see what you mean now about detections being modified. Please undo back
> to Detections detections as the reference here is misleading since
> allDetections.values() returns a copy. Sorry!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biometrics/openbr/pull/204/files#r14200988>.
>