Fixed visualization by choosing the color appropriate to the detection
authorStefan Romberg <romberg@informatik.uni-augsburg.de>
Thu, 24 Jan 2013 09:01:18 +0000 (10:01 +0100)
committerStefan Romberg <romberg@informatik.uni-augsburg.de>
Thu, 24 Jan 2013 09:01:18 +0000 (10:01 +0100)
commit9f417268b302a0b7fe67b87e2c5444e3379e2ddf
tree08106ca27f61ec5e99b4371aa80ee9974db4def2
parent594f9696416868eb19e63c39b4cbda263e2a0220
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
samples/c/latentsvmdetect.cpp