n class="sd">        boxes: Boxes</span>
<span class="sd">        segms: Segmentations</span>
<span class="sd">        dpi: DPI</span>
<span class="sd">        box_alpha: Alpha channel of the boxes</span>
<span class="sd">        show_class: Whether to show object classes</span>
<span class="sd">        extension: Extension of the output file</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span 