t;</span><span class="p">,</span>
            <span class="p">)</span>

        <span class="c1"># show mask</span>
        <span class="k">if</span> <span class="n">segms</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="nb">len</span><span class="p">(</span><span class="n">segms</span><span class="p">)</span> <span class="o">&gt;</span> <span class="n">i</span><span class="p">:</span>
            <span class="n">img</span> <