Itseez/opencv — pull request #330 by sromberg (2013-01-24 09:19:22+00:00)
Title: Fixed visualization by choosing the color appropriate to the detection

Fixed visualization by choosing the color appropriate to the detection
score.
Previously the example showed all detections with the same color
disregarding the confidence. This led to the impression that the object
detection did not work at all because there are many detections with low
confidences.

PR to master was
https://github.com/Itseez/opencv/pull/320