><span class="s2">&quot;img.jpg&quot;</span><span class="p">,</span> <span class="n">output</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="n">output</span><span class="o">.</span><span class="n">shape</span><span class="p">)</span>
</pre></div>
</div>
<p>Obtain arrays of segmentation with bounding boxes by including the parameter <em>show_bboxes</em>.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">segma