ass="sd">    Args:</span>
<span class="sd">        image: The image data</span>
<span class="sd">        boxes: The box data</span>
<span class="sd">        segms: Segmentations</span>
<span class="sd">        show_box: Whether to show the boxes</span>
<span class="sd">        show_class: Whether to show the object classes</span>

<span class="sd">    Return:</span>
<span class="sd">        The newly constructed image</span>
<span class="sd">    &quot;&quot;&quot;</span>

    <span class="k">if</span> <span