/pre>
<div class="block">Detects objects of different sizes in the input image. The detected objects are returned as a list
     of rectangles.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>img</code> - Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected.</dd>
<dd><code>foundLocations</code> - Vector of rectangles where each rectangle contains the detected object.</dd>
<dd><code>foundWeights</code> - Vector that will contain confidence values for ea