pan> <span class="n">plt</span>
<span class="kn">import</span> <span class="nn">matplotlib.patches</span> <span class="k">as</span> <span class="nn">patches</span>

<span class="c1"># The utility plots the images and predicted bounding boxes (with confidence scores).</span>
<span class="k">def</span> <span class="nf">plot_results</span><span class="p">(</span><span class="n">best_results</span><span class="p">):</span>
    <span class="k">for</span> <span class="n">image_idx</span> <span class="ow">in</span