ht-python notranslate"><div class="highlight"><pre><span></span><span class="n">segmask</span><span class="p">,</span> <span class="n">output</span> <span class="o">=</span> <span class="n">segment_image</span><span class="o">.</span><span class="n">segmentImage</span><span class="p">()</span>
</pre></div>
</div>
<ul class="simple">
<li><p>You can test the code for obtaining arrays and print out the shape of the output by modifying the instance segmentation code below.</p></li>
</ul>
<div class="highlight-p