xes</span><span class="p">[</span><span class="n">i</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">]</span>

        <span class="c1"># show box (off by default)</span>
        <span class="k">if</span> <span class="n">show_box</span><span class="p">:</span>
            <span class="n">image</span> <span class="o">=</span> <span class="n">vis_bbox</span><span class="p">(</span><span class="n">image</span><span class="p">,</span> <span class="p">(</span><span 