Itseez/opencv — pull request #320 by sromberg (2013-01-22 16:51:37+00:00)
Title: Fixed visualization by choosing the color appropriate to the detection score.

Fixed visualization by choosing the color appropriate to the detection
score. Previously the sample program 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.