color_list</span> <span class="o">=</span> <span class="n">colormap</span><span class="p">()</span>
        <span class="n">mask_color_id</span> <span class="o">=</span> <span class="mi">0</span>

    <span class="c1"># Display in largest to smallest order to reduce occlusion</span>
    <span class="n">areas</span> <span class="o">=</span> <span class="p">(</span><span class="n">boxes</span><span class="p">[:,</span> <span class="mi">2</span><span class="p">]</span> <span class="o">-</span> <span class="n">